Thank you , this is indeed a bug in the HAL, and I just ran into it myself. Setting SET_BIT(huart->Instance->CR1, USART_CR1_TCIE);Just after the HAL_UART_Transmit_DMA() call fixed it for me.I do have many high priority interrupts going on, so your an...
As this comes up first in google, I'd like to show how I fixed mine as none of the above worked. This is actually explained in the st-nucleo board docs in a sub note (somewhat hard to find).pull BOOT0 highreset boardthen use the ST flash tool to eras...
Posted on February 26, 2015 at 10:20
There is probably a better way by hacking the lower layers, but I was able to do this using a simple state machine in theTEMPLATE_Control callback in usbd_cdc_if_template.c file...
Set host_connected_c...