The datasheet claims that there is some RS-485 support and in the IDF reference manual there are also some related registers. Unfortunately there is very limited documentation of this feature and I just cannot make sense of the very short register documentation.
Could anyone else already figure out how to use those RS-485 related features?
What I'm most interested in is to convince the UART module to somehow automatically switch on/off the RS-485 transmitter whenever we start/stop sending.
Thanks in advance for your help!
Edit (2017-08-13):
Since this thread is quite long already, here a short recap:
- Documentation hasn't yet been improved. Please comment or thumps up the corresponding issue on GitHub: https://github.com/espressif/esp-idf/issues/678
- @hwmaier was so kind to provide a software based implementation for the most imminent issue of automated enabling/disabling of the transceiver. Unfortunately Espressif doesn't even seem to honor the PR with a comment: https://github.com/espressif/esp-idf/pull/667
A code example can be found here: https://github.com/espressif/esp-idf/pull/1006