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.

AM2432: How to get M4 cpu ID

Part Number: AM2432

Hi Sir

      Using this "CSL_armR5GetCpuID" API to get core ID is different cslr_soc_defines.h.

     Why geting R5FSS0_0's cup id is 0 by "CSL_armR5GetCpuID" API?
     But the CSL_CORE_ID_R5FSS0_0 define 1.
     Why geting R5FSS0_1's cup id is 1 by "CSL_armR5GetCpuID" API?
     But the CSL_CORE_ID_R5FSS0_1 define 2.

 

      

     It is wrong to use this "CSL_armR5GetCpuID" API to get M4's ID base on AM2432 EVM board.

     How can system to get core M4' cup ID ?

BR

Sheng Yi

  • Hi ,

    Its unrelated. The API CSL_armR5GetCpuID only shares the information about the R5 CPU ID in the clusters and set in hardware.

    Whereas the other CPU ids in CSLR_SOC_DEFINES are set in SDK.

    How can system to get core M4' cup ID ?

    I don't think you need to get the M4 core id as there is a single M4 CPU in the system. But if you intend to use the same software flow, then you need to use a logic similar to this one.

    Here you hard-code the CPU-ID in the software. So, your flow in software remains the same and will taken care during compile time.

    Hope this helps.

    Best Regards,
    Aakash