Hi @doronzzz I think BSP redefines PUTCHAR service as based on HAL UART Transmit API. But GETCHAR service is not routed to HAL UART Receive API in BSP.You might have a look at some UART examples as "UART_Console". (Not available in H7 package, but av...
Hi @tcpctrnkYour interpretation is right : if interrupt is raised between lines 5 and 12, processing of IT will be delayed after line 12For the 2nd question (source of interrupt is disabled during the critical section, for example RXNEIE), I think th...
Hi @Andryck_Sant Some comments about your implementation :- Please note that HAL_UARTEx_ReceiveToIdle_DMA() API is not a blocking service, i.e. that your code execution will exit this before the reception if completed or even started. the function pr...
Hi @rodi66 What makes you think the source for the unexpected interrupt is TXE ? is it because TXE flag is 1 in ISR ?By the way, at end of transmission, TXE will stay at 1 and cannot be cleared in ICR, but this should not trigger USART2 interrupt.Wha...
Hello@_AK As mentioned by @gbm , for completion of a DMA transmission, initiated by HAL_UART_Transmit_DMA(), both interrupts of DMA channel and USART/UART instance, need to be enabled.- DMA interrupt will occur once all data have been handled by DMA ...