This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

串口波特率不对当设置时钟为60Mhz时



您好,

串口默认时钟是100Mhz,这时,运用公式:Divisor =UART input clock frequency / (Desired baud rate*16),计算出响应的寄存器数值,产生115200波特率与电脑通讯没有问题;但是由于100Mhz会对我们板子上产生硬件干扰噪音,所以我们想改成用60Mhz,并且把相应的寄存器按照公式设置成DLL=0x1B and DLH=0x00。出来115200的波特率与电脑通讯不正常,会缺失字符。我改成9600也是不行。请帮忙。