cancel
Showing results for 
Search instead for 
Did you mean: 

multiple UARTs Interrupt Usage

Ehsan Behravan
Associate II
Posted on June 07, 2017 at 07:26

The original post was too long to process during our migration. Please click on the attachment to read the original post.
3 REPLIES 3
Ehsan Behravan
Associate II
Posted on June 10, 2017 at 07:16

no reply?????

Posted on June 10, 2017 at 15:33

Support for what you're doing is rather thin on the ground..

You'd want to make sure you have IRQHandlers correctly calling into the HAL, and ensure that none of the calls you are making return errors or block.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
Ehsan Behravan
Associate II
Posted on June 18, 2017 at 07:37

Hi, i solve the problem

just add 4 line in start of program:

__HAL_UART_ENABLE_IT(&huart8,UART_IT_RXNE);

__HAL_UART_ENABLE_IT(&huart8,UART_IT_TC);

__HAL_UART_ENABLE_IT(&huart7,UART_IT_RXNE);

__HAL_UART_ENABLE_IT(&huart7,UART_IT_TC);

when i use one uart i don't need this lines but when i use two uart, i need.

thanks.