cancel
Showing results for 
Search instead for 
Did you mean: 

Overrun Errors While Sending Data Through the Radio on STM32WLE5 board

sandeep_kumar_v
Visitor

Hello, I have modified the Ping Pong example to create separate transmitter-only and receiver-only code for two STM32WLE5 modules.
I'm using the Low Level (LL) driver with UART1 interrupts on the STM32WLE5 TX module to receive data via UART, which is then transmitted over the radio. On the receiving end, the STM32WLE5 module receives the data via radio and forwards it to the target device through UART.

Setup:
UART ---> STM32WLE5 TX------| ( Radio ) |----------- STM32WLE5 RX ------> UART

All data received by the STM32WLE5 TX module is handled exclusively through UART interrupts. Therefore, if interrupts are disabled, the UART will not be able to read any incoming data.

In the STM32WLE5 transmitter code, Radio.Send() disables interrupts while transmitting data over the radio. During this period, UART interrupts are also disabled, preventing UART from receiving incoming data, which leads to overrun errors.

Is there any possible way to prevent UART overrun errors when interrupts are disabled during Radio.Send()?

or Is there a way to keep UART interrupts active while sending data through the radio on the STM32WLE5 module?

0 REPLIES 0