Search found 4 matches
- Tue Jun 11, 2024 5:42 am
- Forum: General Discussion
- Topic: uart_read_bytes returning 0 bytes in long run
- Replies: 5
- Views: 2227
Re: uart_read_bytes returning 0 bytes in long run
Ok I'll check for memory corruption. But I've also printed out free heap. Until the issue occurs, the heap seems to be fine. I'm not seeing any memory leaks. So, I thought maybe memory must not be the issue. If there's other memory related things that I need to check upon, I'll do that. I'm new to t...
- Mon Jun 10, 2024 12:31 pm
- Forum: General Discussion
- Topic: uart_read_bytes returning 0 bytes in long run
- Replies: 5
- Views: 2227
Re: uart_read_bytes returning 0 bytes in long run
My UART CONFIG settings: const uart_config_t uart_config = { .baud_rate = 115200, .data_bits = UART_DATA_8_BITS, .parity = UART_PARITY_DISABLE, .stop_bits = UART_STOP_BITS_1, .flow_ctrl = UART_HW_FLOWCTRL_DISABLE, .source_clk = UART_SCLK_APB, }; uart_driver_install(UART_NUM_1, 256, 0, 0, NULL, 0); ...
- Mon Jun 10, 2024 5:18 am
- Forum: General Discussion
- Topic: uart_read_bytes returning 0 bytes in long run
- Replies: 5
- Views: 2227
Re: uart_read_bytes returning 0 bytes in long run
Some help would be really appreciated. Stuck at this for nearly 3 weeks
- Wed Jun 05, 2024 2:03 pm
- Forum: General Discussion
- Topic: uart_read_bytes returning 0 bytes in long run
- Replies: 5
- Views: 2227
uart_read_bytes returning 0 bytes in long run
Hello, I'm using the uart_read_bytes() function to read data from a LTE chip. My application is working fine for one hour but after that I'm not getting any data. I probed the LTE TX pin and I could see the LTE sending data fine. But after one hour, I see "No data received" My logic in code is like ...