ESP32-WROOM-32 module.
I use esp_timer_start_periodic(otherstart_timer_handler, 1000000) to do some periodic job.
But at some point , the callback function was triggered 3 times less than 1 second.
Does anyone know the cause of the problem?
Thanks.
Search found 17 matches
- Tue Apr 21, 2020 10:58 am
- Forum: General Discussion
- Topic: esp_timer not triggered correctly
- Replies: 0
- Views: 2252
- Fri Apr 10, 2020 8:03 am
- Forum: General Discussion
- Topic: Data loss of esp32 serial port
- Replies: 9
- Views: 9806
Re: Data loss of esp32 serial port
I'm not sure if I understand correctly. Are the 3 serial ports share one txd and rxd bus line? And this is the cause of data loss. For my scenario, the master esp32 module will receive a lot of data from 3 slave esp32 module and send little data.Even if rxd is in intermediate level,it will not cause...
- Fri Apr 10, 2020 3:10 am
- Forum: General Discussion
- Topic: Data loss of esp32 serial port
- Replies: 9
- Views: 9806
Re: Data loss of esp32 serial port
The serial ports used by master esp32 as shown in the attachment picture. You mean when serial1 and serial2 are not sending data,output high level, will cause serial0 to a intermediate level,and the serial sending would be abnormal? If all of the 3 serial ports are sending at the same time,output lo...
- Fri Apr 10, 2020 2:28 am
- Forum: General Discussion
- Topic: Data loss of esp32 serial port
- Replies: 9
- Views: 9806
Re: Data loss of esp32 serial port
Directly connect the gpio of the four UARTs together
- Fri Apr 10, 2020 2:27 am
- Forum: General Discussion
- Topic: Data loss of esp32 serial port
- Replies: 9
- Views: 9806
Re: Data loss of esp32 serial port
The logic of the serial data processing part is as follows #define BUF_SIZE (2048) static QueueHandle_t uart0_queue; static QueueHandle_t uart1_queue; static QueueHandle_t uart2_queue; uart_config_t uart_config = { .baud_rate = 115200, .data_bits = UART_DATA_8_BITS, .parity = UART_PARITY_DISABLE, .s...
- Fri Apr 10, 2020 2:15 am
- Forum: General Discussion
- Topic: Data loss of esp32 serial port
- Replies: 9
- Views: 9806
Re: Data loss of esp32 serial port
The baud is 115200,but the data send to serial port is about 1200 bytes per second.
- Thu Apr 09, 2020 12:32 pm
- Forum: General Discussion
- Topic: Data loss of esp32 serial port
- Replies: 9
- Views: 9806
Data loss of esp32 serial port
I use four esp32 module to form a small system, three of which send data to the rest one as master through the serial port. The master esp32 uses three serial ports, and after testing, it is found that almost half of the data received through the serial port on the master esp32 will be lost. The dat...