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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
01/10/05 15:21
Read: times


 
#84667 - MODBUS on UART (parity & stop bits?)
Hi all,

I'm implementing MODBUS RTU 9600 bauds on a 89c668.

I plan to user a timer to process the end of frame by reloading a timer each time a char is incoming.

My problem is on the UART configuration. MODBUS requires to set the parity bit and to use 2 STOP bits. I havn't found in datasheets how to configure the 8051 UART do to this ?

Is it possible to configure parity and stop bits on the hardware UART ?

Otherwise shall I do a software UART to access MODBUS ?


And suggestions on the MODBUS implementation would be appreciated (flowcharts, codes, ...)


Regards
Stephane

List of 7 messages in thread
TopicAuthorDate
MODBUS on UART (parity & stop bits?)            01/01/70 00:00      
   parity and stop            01/01/70 00:00      
      parity and stop            01/01/70 00:00      
         2 Stop Bits            01/01/70 00:00      
         stop bit            01/01/70 00:00      
            Beware - early ti/ri flags!            01/01/70 00:00      
               Modbus            01/01/70 00:00      

Back to Subject List