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.

AM263P4: Flowchart for software

Part Number: AM263P4


Tool/software:

Team,

Is there any flowchart available for the MCRC example codes provided in the mcu_plus_sdk_am263px_10_01_00_34 folder? I’m planning to use the MCRC controller for CRC calculation and verification.

Regards,
K. Sravya




  • Hi Sravya, 

    We do not have any flowcharts for the SDK examples, Only the documentation (mentioned in the E2E quoted above) and Source code (in MCU_PLUS_SDK).

    I’m planning to use the MCRC controller for CRC calculation and verification.

    You can refer the Drivers page and the API guide and that should be sufficient I believe.

    Regards,
    Shaunak

  • Hi Shaunak,

    I have a few doubts regarding the MCRC example code for full CPU mode. What value should I select for dataBitSize in the following case:

    Case 1: There is data of 10 bytes on which we are going to perform CRC. I am using the polynomial type VAN_CAN_SAEJ1850, which is 0x1D.
    What input should I give for the dataBitSize parameter of the SDL_MCRC_Config structure? Also, please provide the reason.
    Does this value depend on the MCRC pattern size, which is a parameter of the MCRC configuration parameters structure?


  • Hi Sravya,

    The MCRC controller can perform a CRC operation on 8, 16, 32 bit sizes. Since 10B = 80 bits, you can perform 8 as well as 16 bit operations.

    If using odd values such as "10 bits", you have to perform padding and use the 16-bit mode.

    Regards,
    Shaunak

  • Does this value depend on the MCRC pattern size, which is a parameter of the MCRC configuration parameters structure?

    When using Full CPU Mode, this is not dependent, It is dependent only when using Auto CPU mode. 

    Regards,
    Shaunak