我在测试中发现115200的波特率会出现丢字节的问题,使用9600的波特率是没问题的,不知道这款芯片是不是115200没法做到么?
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.
我在测试中发现115200的波特率会出现丢字节的问题,使用9600的波特率是没问题的,不知道这款芯片是不是115200没法做到么?
我采用57600的波特率,
ScibRegs.SCIHBAUD = 0x0000; // lspclk = 22500000Hz
ScibRegs.SCILBAUD = 0x0030; // 波特率设为57600,实际值为:57397.96,误差0.35%
ScibRegs.SCIHBAUD = 0x0000; // lspclk = 22500000Hz
ScibRegs.SCILBAUD = 0x0018; // 波特率设为115200,实际值为:112500,误差2.34%
是这个意思么?