RT-Thread / rt-thread

RT-Thread is an open source IoT Real-Time Operating System (RTOS).
https://www.rt-thread.io
Apache License 2.0
10.37k stars 4.99k forks source link

[Bug] cortex a7 soc 串口无法正常使用 #9476

Closed baidxi closed 3 days ago

baidxi commented 5 days ago

RT-Thread Version

v5.1.x - last

Hardware Type/Architectures

全志t113-s3

Develop Toolchain

GCC

Describe the bug

使用lts v4.1.x串口正常(在SPL中已初始化完成),在rt_hw_uart_init中将串口添加进系统,能正常使用。 使用v5.1.x之后的版本,串口无法正常工作 。使用trace32看了相关的时钟和配置都没有问题。 表现为发送fifo一直处于busy状态,手动重置了fifo时钟,fifo还一直是busy状态,不能发送数据。

Other additional context

No response

BernardXiong commented 4 days ago

并没有T113的BSP啊

baidxi commented 4 days ago

并没有T113的BSP啊

我自己添加的,把相同的代码放到lts-v4.1.x上面正常,v5之后串口无法正常使用。