Re: ESP32-S3 RS485 support

2023-09-02 Thread Petro Karashchenko
I rethink my question again and this depends on HW configuration also, so can't be handled at driver level generically. сб, 2 вер. 2023 р. о 18:31 Petro Karashchenko пише: > Hello Alan, > > Thank you. I will try to port SW RS485 to ESP32-S3, but from my experience > in the past with RS485 I have

Re: ESP32-S3 RS485 support

2023-09-02 Thread Petro Karashchenko
Hello Alan, Thank you. I will try to port SW RS485 to ESP32-S3, but from my experience in the past with RS485 I have a question: how TX echo is filtered out from RX stream when SW RS485 is used? Or that should be done at the application layer? Best regards, Petro сб, 2 вер. 2023 р. о 16:46 Alan

Re: ESP32-S3 RS485 support

2023-09-02 Thread Alan C. Assis
Hi Petro, The current RS485 implementation used on ESP32 is not using internal RS485 controller of ESP32, it is implemented by "software". So you can use it connecting a RS485 transceiver to UART port and using the right DIR pin controller by RS485 driver. It is possible to use the internal IP RS

ESP32-S3 RS485 support

2023-09-02 Thread Petro Karashchenko
Hi, I'm currently trying to enable RS485 support for ESP32-S3. I see that there is some support of RS485 mode in ESP32 and it seems to be straight forward to port it to ESP32-S3 however I see that currently ESP32-S3 lowputc has next lines modifyreg32(UART_RS485_CONF_REG(priv->id), UART_RS485_EN_M