I declare this two variable globallyuint8_t data_rcv_flg[1] = { 0 }; /* To avoid reuse of data */
uint8_t run[1] = { 0 }; I use this variable here:MODEM_ConfigTypeDef modem_cfg;
modem_cfg.buff = data;
modem_cfg.rcv_flag = data_rcv_flg;
PROTOCOL_Con...
Nucleo send through UART4 and receive with DMA from devices. Then Nucleo send to PC via USART2 for debugging. In UART4 there is Idle Line detect for receiving unknown length of data.This is my code: MX_GPIO_Init();
MX_DMA_Init();
MX_UART4_In...
Hi, I'm also intrested in reaching same goal and I'm working on Nucleo-L476RGI'm trying the example in https://github.com/akospasztor/stm32-dma-uart and I have this code: UART_Init();
DMA_Init();
/* Start DMA */
if(HAL_UART_Recei...