2017-08-17 12:10 AM
Hello,
I'm using the last version of Cube MX. 4.21.
I am using STM32F410RBT6 processor. I can't find in the CUbeMX graphical user interface how to enable UART data registry not empty interrupt. I have only found that there is a flash enable USART global interrupt in the NVIC controller settings. Maybe i miss something.
Thanks in advance,
Solved! Go to Solution.
2017-08-17 02:32 AM
Hello
,you can manually enable RXNE interrupt using approach below:
__HAL_UART_ENABLE_IT(&huart, UART_IT_RXNE);�?�?�?
If you will useHAL_UART_Receive_IT, function will automatically enable RXNE interrupt on UART.
Best regards,
Tilen
2017-08-17 02:32 AM
Hello
,you can manually enable RXNE interrupt using approach below:
__HAL_UART_ENABLE_IT(&huart, UART_IT_RXNE);�?�?�?
If you will useHAL_UART_Receive_IT, function will automatically enable RXNE interrupt on UART.
Best regards,
Tilen
2017-08-17 10:49 PM
thanks,
i was thinking that this should be implemented in CubeMX.