cancel
Showing results for 
Search instead for 
Did you mean: 

STM32L152 HAL libary - USART, - no TX transmission ?

MLy
Associate II

Dear Sir,

Now I am using HAL library ( STM32Cube_FW_L1_V1.8.0)

after setup USART 3, and

after running, in some case, I need to disable the transmit interrupt by using

__HAL_UART_DISABLE_IT(&UartHandle, UART_IT_TXE);

But then if I need to re-transmit some data from buffer, even using

HAL_UART_Transmit_IT(&UartHandle, (uint8_t*)aTxBuffer, TXBUFFERSIZE);

It will not transmit out any data nor having any USART interrupt.

Thanks!

Martin

0 REPLIES 0