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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
03/02/09 07:34
Read: times


 
#162993 - Be better...
Responding to: ???'s previous message
Brian:
Your loop logic seems a bit odd to me. It may work OK but wouldn't it kind of make more sense to do this:

Initialize Timers and UART (including clear of RI and TI)
LOOP:
Poll for RI
Grab byte from SBUFINP
Clear RI
Poll for TI being set
Clear TI
Stuff byte to SBUFOUT
Go back to LOOP

Michael Karas


List of 23 messages in thread
TopicAuthorDate
serial comm problem            01/01/70 00:00      
   what about TI?            01/01/70 00:00      
      thank you            01/01/70 00:00      
         Be better...            01/01/70 00:00      
            no luck            01/01/70 00:00      
               Settings            01/01/70 00:00      
               What is your XTAL frequency ?            01/01/70 00:00      
                  parity and XTAL            01/01/70 00:00      
                     Eh ?            01/01/70 00:00      
                        one or the other            01/01/70 00:00      
                           my mistake            01/01/70 00:00      
                           scope pictures            01/01/70 00:00      
                              whatizit?            01/01/70 00:00      
                                 where I measured it...            01/01/70 00:00      
                                    waveforms look OK            01/01/70 00:00      
                                       question            01/01/70 00:00      
                                          LSBit comes first after startbit            01/01/70 00:00      
                                       cable            01/01/70 00:00      
                                          isolation and ESD protection            01/01/70 00:00      
                                             I have blown very few, if any, MAX232's            01/01/70 00:00      
                              Your scope trace looks normal            01/01/70 00:00      
                                 more pics            01/01/70 00:00      
                                    show picture at PC side            01/01/70 00:00      

Back to Subject List