> > For the transmit of data, I am using built-in RS232 > function of CCS C Compiler like, printf, putchar, etc. > > > > I don't know what is wrong here. Any ideas are wellcome. >So does the "built-in RS232 functions of the CCS C Compiler" enable the >driver before transmit? I suspect not. >You need to turn on the driver, transmit all of your bits, and then turn >off the driver (to receive). This is more housework than the "typical" >RS232 routines do. The #USE RS232 directive in CCS C allows you to define a pin as an enable output for use with RS-485. An example would be: #use rs232(baud=9600, xmit=PIN_B1, rcv=PIN_B2, enable=PIN_B3) where PIN_B3 is set high during transmit. I have not personally used the function, so I cannot verify that it actually works as expected. Hope this helps, Jonathan King