cancel
Showing results for 
Search instead for 
Did you mean: 

How to setting timeout of uart intterupt STM32F103?

QPham.1
Associate II
 
6 REPLIES 6
QPham.1
Associate II

My english is not good!

QPham.1
Associate II

When I initialization UART Intterupts 1 byte. Im must wait for a long time before interrupt occurs

MM..1
Chief III

UART or any other interrupt dont have timeout, occurs immediately as source event condition meet.

Exist only priority when other interrupt do job, lower priority is delayed.

When the 1-byte interrupt initialization is complete. It takes a while before the interrupt occurs.

About 8-10 seconds

What is the "1-byte interrupt initialization"?

Interrupts are triggered within about 10 cycles of when they occur. There is no timeout setting that changes this.

Perhaps your code is busy elsewhere, or otherwise not doing what you expect.

If you feel a post has answered your question, please click "Accept as Solution".