The OP
Published on 2022-6-2 11:02
Only look at the author
This post is from Domestic Chip Exchange
Latest reply
I have already posted a post, you can just refer to it:
【GD32F310G-START】USART indefinite length reception - GD32 MCU - Electronic Engineering World - Forum (eeworld.com.cn)
Details
Published on 2022-6-4 16:18
| ||
|
||
lugl4313820
Currently offline
|
2
Published on 2022-6-3 12:25
Only look at the author
This post is from Domestic Chip Exchange
Comments | |
|
||
|
This post is from Domestic Chip Exchange
Comments
Idle interrupt, different products and chips have different definitions of idle interrupt, so the specific implementation should be based on practice. In fact, the best implementation method is the timer detection method, which is universal. The idle interrupt of STM32 is more applicable. The CH582 I used last time is quite different from STM32!
Details
Published on 2022-6-3 21:38
| ||
|
||
|
lugl4313820
Currently offline
|
4
Published on 2022-6-3 21:38
Only look at the author
This post is from Domestic Chip Exchange
Comments
This is what I have read in the GD32 manual: "This interrupt is generated after receiving data, that is, after USART_INT_FLAG_RBNE is set, if the bus has a cycle of 'idle', this interrupt will be generated. This seems to be the same as the understanding of stm32, which says: You need to interrupt USART_INT_RBNE
Details
Published on 2022-6-4 10:13
| |
|
||
|
This post is from Domestic Chip Exchange
Comments
You can enter the interrupt by setting the length of the idle interrupt to 1
Details
Published on 2022-6-4 10:20
| ||
|
||
|
lugl4313820
Currently offline
|
6
Published on 2022-6-4 10:20
Only look at the author
This post is from Domestic Chip Exchange
Comments | |
|
||
|
This post is from Domestic Chip Exchange
Comments
Wait, I'll study it and write a post then.
Details
Published on 2022-6-4 15:45
| ||
|
||
|
lugl4313820
Currently offline
|
8
Published on 2022-6-4 15:45
Only look at the author
This post is from Domestic Chip Exchange
Comments
I have posted a thread, you can refer to it: [GD32F310G-START] USART indefinite length reception - GD32 MCU - Electronic Engineering World - Forum (eeworld.com.cn)
Details
Published on 2022-6-4 16:18
| |
|
||
|
lugl4313820
Currently offline
|
9
Published on 2022-6-4 16:18
Only look at the author
This post is from Domestic Chip Exchange
| |
|
||
|
EEWorld Datasheet Technical Support
EEWorld
subscription
account
EEWorld
service
account
Automotive
development
circle
About Us Customer Service Contact Information Datasheet Sitemap LatestNews
Room 1530, Zhongguancun MOOC Times Building, Block B, 18 Zhongguancun Street, Haidian District, Beijing 100190, China Tel:(010)82350740 Postcode:100190