cancel
Showing results for 
Search instead for 
Did you mean: 

UART DMA error

Ash G
Associate II

I'm using a STM32L062 MCU to interface a BLE module via UART. I have setup DMA with idle line detection to receive data of unknown packet lengths. I'm receiving packets from the BLE module and the software seems to be working fine. However, I noticed that while waiting for a BLE device to connect, it's reporting an error. The error code is 12. I'm starting the DMA prior to establishing a connection with a BLE device. Currently, the software is ignoring any UART errors. My question is what this error could be and how to fix it? I will share the CubeMX configuration below.

Thanks!

0693W00000Nsby3QAB.png0693W00000NsbyrQAB.png 

0 REPLIES 0