Hi, if anyone would help me I would be glad. What I want is to transmit and receive data via RS485. Here I’m having problem because drive of UART (SC16…) are not prepared for RS485 communication, from datasheet as I understand I need to somehow enable auto RTS mode, so pin will set DE & RE to HIGH when transmiting and to LOW when receiving. I found some register but dont know how to use it. In attachment I add schematic, also for UART I’m using drivers: https://github.com/nopnop2002/SC16IS752/blob/master/Arduino & ESP8266/SC16IS752.cpp
Any idea?
Any idea?
Attachments
-
794.6 KB Views: 8