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.

AWR1642: Programming low CAN data rates

Part Number: AWR1642

Hello, I am looking for guidance on programming very low data rates for the CAN-FD (MCAN) driver on AWR. In particular, 125kbps. Is this rate supported with the clock sources that are available on the device?

I found a generic timing calculator online, and it suggests it is possible to use a 40MHz input clock, but it doesn’t distinguish between the Prop_Seg and Phase_Seg_1 values I need to configure the driver.

 

http://www.bittiming.can-wiki.info/

Thanks

Bill

  • HI,

    I checked the TRM and it looks like the MCAN transmission speed is controlled by MCAN_FCLK.

    http://www.ti.com/lit/ug/swru520c/swru520c.pdf

    In the clocking chapter, in Table 4-3 Clock Domains, the clock for FDCAN (MCAN) peripheral is FDCAN_CLK.

    Another piece of information that is helpful is the unit test of the canfd driver provided in

    C:\ti\mmwave_sdk_03_03_00_03\packages\ti\drivers\canfd\test\xwr18xx

    Hope this pointers will help.

    Will give you an update in a couple of days

    thank you

    Cesar