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.

TMS320F280025C: controlCARDs板卡在调试Lin作为SCI模式时发现波特率和文档上写的不一样

Part Number: TMS320F280025C
Other Parts Discussed in Thread: C2000WARE

采用官方历程目录C:\ti\c2000\C2000Ware_4_00_00_00\driverlib\f28002x\examples\lin下的

lin_ex2_sci_loopback

增加语句如下

GPIO_setPinConfig(DEVICE_GPIO_CFG_LINTXA);
GPIO_setPinConfig(DEVICE_GPIO_CFG_LINRXA);

LIN_disableIntLoopback(LINA_BASE);
LIN_setBaudRatePrescaler(LINA_BASE, (uint32_t)0x0000144, (uint16_t)0x0008);

其余不变,经过测试并不能正常工作,查看手册,手册上在此设置下波特率应为9600,而实际采用示波器抓取波形单次脉冲为0.000052s,波特率约为19230,误差有点大,将串口助手波特率改为19200通信无误,我想问一下,这个波特率异常的原因