AnsweredAssumed Answered

STM32L4 simple uart transmit interrupt

Question asked by rolly loysney on Apr 10, 2018
Latest reply on Apr 11, 2018 by Andrew Neil



i've followed many tutorial to try to get UART with interrupt working on my stm32l476rg (nucleo board) :


at the main.c, before while(1) loop :

HAL_UART_Transmit_IT(&huart4, (uint8_t *)welcome_str,sizeof(welcome_str));

this doesn't work, but in polling mode, it's working :


HAL_UART_Transmit(&huart4, (uint8_t *)welcome_str,sizeof(welcome_str),100);

i'm using hc-06 bluetooth dongle, and receiving it on android Phone, it should be able to receive interrupt without any problem...?

what i'm missing here ? any triggering stuff or ..?


thank you