HAL_UART_Transmit() works; HAL_UART_Transmit_IT() does nothing and breaks printf
I've got the NUCLEO-G491RE board and have it connected to my PC over the only USB port which is of course also used for the debugger.
Both printf() and HAL_UART_Transmit() work to send data to a terminal program on the PC, but I can't use polling for my communication (there's too much else going on). If I call HAL_UART_Transmit_IT() it returns HAL_OK but doesn't actually transmit anything, and any subsequent calls to printf() or HAL_UART_Transmit() no longer do anything.
I'm assuming this is because this isn't a "real" UART but some kind of virtual UART that gets converted into USB commands that cooperate with the debugger.
Is there a way to use interrupt-driven communication over this (virtual) serial port?
Thanks,
Chris
