AM263P4-Q1: The timeout period for MCAN_isMemInitDone

Part Number: AM263P4-Q1


I am trying to set an appropriate timeout for verifying the completion of memory initialization in the MCAN module. From what point does it usually take for MCAN_isMemInitDone() to return True, and how long does it typically take? Also, what would be the worst-case duration?
  • Hi Imaoka,

    Similar to your previous question ((+) AM263P4-Q1: the timeout period for MCAN_setOpMode) I am unable to find any official hard number for this time. This is due to the variety of possible operating parameters for the MCAN peripheral, MSG RAM layout/configuration, CAN clock configuration, SoC clock configuration, etc...

    Our recommendation would be to implement a test timer in your code to calculate the time taken across multiple samples and determine the appropriate max timeout period for your application with proper guardbands.

    Best Regards,

    Zackary Fleenor