4785 views|2 replies

4

Posts

0

Resources
The OP
 

GD32F130 will immediately enter the serial port interrupt after the serial port idle interrupt is turned on [Copy link]

MCU model: GD32F130F8P6.
When debugging the serial port idle interrupt, I found that after enabling the serial port idle interrupt, the serial port will immediately enter the serial port interrupt. The serial port idle interrupt was also cleared before it was enabled. I don't know what's going on.

This post is from GD32 MCU

Latest reply

You can look at the registers to see which flags are set when entering the interrupt   Details Published on 2020-8-10 20:18
 

7462

Posts

2

Resources
2
 

I am not familiar with GD, but you can check if there are any relevant parameters to put the idle interrupt after receiving. Some MCUs can set the interrupt to occur before or after data reception, which is interesting.

This post is from GD32 MCU
 
Personal signature

默认摸鱼,再摸鱼。2022、9、28

 
 

310

Posts

5

Resources
3
 

You can look at the registers to see which flags are set when entering the interrupt

This post is from GD32 MCU
 
 
 

Guess Your Favourite
Just looking around
Find a datasheet?

EEWorld Datasheet Technical Support

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京B2-20211791 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号
快速回复 返回顶部 Return list