Part Number: TMS320F280039C
Other Parts Discussed in Thread: C2000WARE
Hi Team,
Here are some issues from the customer may need your help:
The project needs to configure MCAN as a normal CAN for sending and receiving. Refer to the routine mcan_ex5_mask_filter_receive project of C2000WARE for sending and receiving. Encountered doubts during the configuration process.
1. What are the functions of the MCAN_DBTP register and the MCAN_NBTP register, and what are the differences?
2. The structure MCAN_BitTimingParams parameters in the routine include MCAN_DBTP's and MCAN_NBTP's. Why does MCAN_setBitTime only use the MCAN_NBTP part?
3. Do I only need to configure the MCAN_NBTP register and then use the MCAN_setBitTime() function to configure it?
4. Do I need to configure the two registers MCAN_DBTP and MCAN_NBTP to have the same bit time, for example, both are configured to 500kbps?
5. If MCAN is configured as a normal CAN, will MCAN_PSR.RFDF be set to 1 after receiving a CAN2.0 message frame?
--
Thanks & Regards