We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hi all I have to configure the LPC2378 for RS485 how can i do that and through which USART port ..can any one help me out to config tht ...
Regards Suresh
You could use any of the built-in USARTS for RS485.
The only significant differences between RS232 and RS485 is the driver chip used, and that you must be able to turn on/off the driver chip depending on if you are sending or receiving. This can be done with handshake signals, but you may as well use any GPIO pin.
Maybe this link may be of help when you are going to actually use RS485: www.netrino.com/.../index.php
hi
how can i disable the receiver when i am transmitting data so that i dont get any receive interrupt ....so before transmitting i can disable the receive enable and after transmitting the last byte i can re-enable the receiver ..
You can't, other than by doing own work. However, did you read the link I posted? You might actually want to read your own transmissions, just to know when to turn off the RS485 driver chip.
The alternative is to busy-loop, looking at the TEMT status bit.