LPC54102 串口波特率921600

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

LPC54102 串口波特率921600

967 Views
huangzhonghao
Contributor I

请问LPC54102 串口波特率可以达到921600吗?我调用 board.c 里面的 Board_Debug_Init() 函数来对串口进行初始化的,只是把 board.h 中的 DEBUGBAUDRATE 改为 921600,然后初始化后串口无法正常使用~  115200可以正常使用

Labels (1)
0 Kudos
2 Replies

687 Views
huangzhonghao
Contributor I

有人可以帮忙解答一下吗?谢谢~

0 Kudos

687 Views
jeremyzhou
NXP Employee
NXP Employee

Hi Huang Zhonghao

非常感谢使用NXP产品,很高兴为你提供技术支持!

建议首先可以通过示波器或者逻辑分析仪查看一下波形,还有我认为这是由于容差率过大导致的,这跟UART时钟源频率关系密切,建议配置前用纸笔手动算一下。

Have a great day,
Ping

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos