rt-thread icon indicating copy to clipboard operation
rt-thread copied to clipboard

[Feature][stm32][drv_serial_v2] 串口支持硬件fifo?

Open kaidegit opened this issue 1 year ago • 0 comments

Describe problem solved by the proposed feature

在finsh开到较高的波特率(比如2M)时,串口驱动(serial_v2)可能会来不及接收连续的数据(比如上键,\x1B\x5B\x41)导致overrun的问题,即使我使用的是480M的H750并将中断所用到的函数放入了itcm。 image

考虑到现在很多新的STM32都带了硬件FIFO,我在初始化完后使能硬件FIFO,finsh就可以顺利的接到上了 image image image

未来会考虑为STM32的串口驱动加入硬件FIFO吗

Describe your preferred solution

No response

Describe possible alternatives

No response

kaidegit avatar Jul 01 '24 16:07 kaidegit