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.

TMS320F280039C: MCAN配置为DCAN的位配置

Part Number: TMS320F280039C
Other Parts Discussed in Thread: C2000WARE

项目需求将MCAN配置为普通CAN进行收发,参考C2000WARE的例程mcan_ex5_mask_filter_receive工程进行收发,配置过程中遇到疑惑:

1、MCAN_DBTP寄存器和MCAN_NBTP寄存器有=作用是什么,有什么区别?

2、例程里面的结构体MCAN_BitTimingParams参数有MCAN_DBTP和MCAN_NBTP的,为什么MCAN_setBitTime只用到了其中的MCAN_NBTP部分?

3、实现我的工程配置是否只需要配置MCAN_NBTP寄存器,然后使用MCAN_setBitTime()函数进行配置即可?