I figured out some things by myself. I found that the uart registers are accessible through the uart struct provided in soc/uart_struct.h.
#include "soc/uart_struct.h"
...
UART2.rs485_conf.rx_busy_tx_en = 0; //0 => enable hardware arbitration
...
Answer to Q3: I found that by setting the ...
Search found 3 matches
- Mon Feb 19, 2024 7:15 pm
- Forum: Hardware
- Topic: Uart in 485 mode
- Replies: 2
- Views: 3290
- Sun Feb 11, 2024 4:41 pm
- Forum: Hardware
- Topic: Uart in 485 mode
- Replies: 2
- Views: 3290
Uart in 485 mode
I’m new to the forum and hope to find some support here.
I want to use an esp32 as a node in a 485 bus with the following conditions:
baudrate: 921600 bits/sec
no master slave, so all nodes can send at all times
inter frame delay >= 10bytes ~ 100us
addressed nodes are sending a 1byte ...
I want to use an esp32 as a node in a 485 bus with the following conditions:
baudrate: 921600 bits/sec
no master slave, so all nodes can send at all times
inter frame delay >= 10bytes ~ 100us
addressed nodes are sending a 1byte ...
- Fri Feb 09, 2024 10:15 am
- Forum: ESP-IDF
- Topic: Understanding UART and 485 modes
- Replies: 0
- Views: 866
Understanding UART and 485 modes
I’m new to the forum and hope to find some support here.
I want to use an esp32 as a node in a 485 bus with the following conditions:
baudrate: 921600 bits/sec
no master slave, so all nodes can send at all times
inter frame delay >= 10bytes ~ 100us
addressed nodes are sending a 1byte ...
I want to use an esp32 as a node in a 485 bus with the following conditions:
baudrate: 921600 bits/sec
no master slave, so all nodes can send at all times
inter frame delay >= 10bytes ~ 100us
addressed nodes are sending a 1byte ...