- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi all,
I am experiencing some troubles making RS485 communication through UART. I am using First Touch Kit and Ti ISO3086 driver. I am connecting the RE and DE short, and they are connected to Tx_E out of the UART. D of the driver is connected to the TX and R is connected to RX of the UART. The program code that I am using is quite simple.
test = UART_485_ReadRxData ();
if (test !=0 )
{
UART_485_WriteTxData (test);
}
I am missing something (probably in the configuration of the UART or in the firmware code). I have managed to make it send data (as a second device I am using RS485 to RS232 converter and Hyper Terminal), but can’t make it receive some data. The driver was configured as a Half Duplex. If I want to make it work as Full Duplex, how should I connect the output of the UART and the input of the driver? What should be the configuration of the UART in this case?
I will appreciate any help!
Thanks in advance!
- Labels:
-
PSoC 5LP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Can you please attach your project file or create a Technical Support case with the project?
Regards,
Kishore.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I have created technical support case. I am still working on the problem. If I have any success with it I will post.
Thanks,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Ok That's great !!
--
Kishore.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi
I am also facing the same problem , I am able to receive it ,but problem is that it is not the same data what i am transmitting .
check at your end : to receive the code you have to make DIR (i.e - RE and DE both short)
when you are transmitting make it high and while receiving make it low .
if you found any other way inform me too ,I am working on same if i Get sucess i'll share it
Regards
Habib
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
hello
I am diving in the same pool. 😉
want to use RS-485 for easy machine-2-machine communications.
a few days passed by since this topic was started. any sucess in the meantime?
is there an AN or CE for that oftem to come demand ?
b.r.
Markus
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Can you specify what is your problem? uploading your project would be helpful for others to see what's wrong. 🙂