Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
06/17/04 02:33
Read: times


 
#72614 - RE: ADuC832 serial comms problem
Responding to: ???'s previous message
Yeah, that is two lines in my source... I must have missed that when I copied it across.

SCON = 0x52; // mode 1, 8-bit uart, enable
TMOD = 0x20; // timer 1, mode 2, 8-bit reload
TH1 = 0xFD; // reload value for 9600 baud
TR1 = 1; // start timer 1

"If in your source you didn't put LF/CR before TH1, then TH1 didn't get the correct reload value."

What does this mean? Is the order correct now that I've clarified my code..?

Thanks.

List of 10 messages in thread
TopicAuthorDate
ADuC832 serial comms problem            01/01/70 00:00      
   RE: ADuC832 serial comms problem            01/01/70 00:00      
      RE: ADuC832 serial comms problem            01/01/70 00:00      
         RE: ADuC832 serial comms problem            01/01/70 00:00      
   RE: ADuC832 serial comms problem            01/01/70 00:00      
      Keil Example            01/01/70 00:00      
         More Keil Examples            01/01/70 00:00      
   RE: ADuC832 serial comms problem            01/01/70 00:00      
      RE: Keil putchar, getchar.            01/01/70 00:00      
   RE: ADuC832 serial comms problem            01/01/70 00:00      

Back to Subject List