Hi @AlfRomeo If my understanding is correct, your problem starts after the 1st DMA transmit which is completed, but 2nd transmit could not be launched right ?The process for a DMA transmit operation in HAL UART (HAL_UART_Transmit_DMA() ) is as follow...
Hi @Smark If your DMA channel is configured in Circular mode, no need to recall HAL_UART_Receive_DMA(), as reception is not stopped when reaching the Receive Complete event (reception will go on and new received characters will be stored starting aga...
Hi @lgacnik97 On STM32U5xx serie, there's no WakeupCallback (no WUF/WUS settings). So UART_HandleTypeDef type definition is correct.On the other hand, the value HAL_UART_WAKEUP_CB_ID could then be removed from HAL_UART_CallbackIDTypeDef enumeration, ...
Hi @StefanInfi Indeed, as mentioned by @waclawek.jan, handling a 1Mbaud with a 16Mhz clock source is the limit. To relax this on RX, could you try to initialize your USART2 with OverSampling_8 configuration :huart2.Init.OverSampling = UART_OVERSAMPLI...
Hi @himani Maybe an alternative for you could be to use a STM32H562 or 563 or 573 (instead of STM32H503).STM32H56x/57x embeds a UCPD peripheral able to manage USB Type-C/USB Power Delivery connections.You could also find in STM32Cube H5 package avail...