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: 把LIN配成SCI模式波特率怎么设置

Part Number: TMS320F280025C

在例程中没有配置波特率默认是多少呢,如果配置的话在哪里配置呢

  • 你好,例程的话可以看一下lin.c第137行开始:

    Fullscreen
    1
    2
    3
    4
    5
    //
    // Set Baud Rate Settings - 100MHz Device
    //
    LIN_setBaudRatePrescaler(base, 96U, 11U);
    LIN_setMaximumBaudRate(base, 100000000U);
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX