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/05 10:58
Read: times


 
#88859 - REN !!
Responding to: ???'s previous message
Alex Anselmi said:
In all the code and examples I have there is no mention about REN. How do I put it to 1?

REN is a bit in an 8051 SFR (Special Function Register).

REN = Receiver ENable: it enables the Receiver part of the UART. Obviously, if you don't enable the receiver, you will receive nothing!

You set it to 1 the same way you set any other bit in any other SFR to 1!

Sounds like you need to review the UART operation in the "bible:"

Chapter 1 - 80C51 Family Architecture:
http://www.semiconductors.philips.com/acrobat/v...ARCH_1.pdf

Chapter 2 - 80C51 Family Programmer’s Guide and Instruction Set:
http://www.semiconductors.philips.com/acrobat/v...UIDE_1.pdf

Chapter 3 - 80C51 Family Hardware Description:
http://www.semiconductors.philips.com/acrobat/v...WARE_1.pdf




List of 24 messages in thread
TopicAuthorDate
8051 <-> RS232 comunication            01/01/70 00:00      
   VB to Microcontroller            01/01/70 00:00      
      Very Informative!            01/01/70 00:00      
         Language(s)?            01/01/70 00:00      
            Languages            01/01/70 00:00      
   Line buffering?            01/01/70 00:00      
      furthermore Russell Bull            01/01/70 00:00      
      Line buffering            01/01/70 00:00      
         buffer            01/01/70 00:00      
            Serial Comms and Visual Basic            01/01/70 00:00      
               Another URL            01/01/70 00:00      
                  MSComm config            01/01/70 00:00      
                     More on VB setup            01/01/70 00:00      
                        VB Setup            01/01/70 00:00      
                           Code for 8051/VB            01/01/70 00:00      
                              Thank you            01/01/70 00:00      
   MSDN            01/01/70 00:00      
   Flush your buffers            01/01/70 00:00      
   Stu            01/01/70 00:00      
      REN ???            01/01/70 00:00      
         REN !!            01/01/70 00:00      
   Hardware/software            01/01/70 00:00      
      Got a MAX232 or 1488/9 chip?            01/01/70 00:00      
         MAX232 and oscilloscope            01/01/70 00:00      

Back to Subject List