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.

TDA4VM-Q1: The relationship between the value in ESM_RAW and the interrupt ID

Part Number: TDA4VM-Q1

Hi Team,

This is the value of the register that the current software reads MCU_ESM ESM_RAW. 

Value in WKUP_ESM ESM_RAW register

The customer wants to know why the value 0x0000 0007 at 0x4080 0400 is generated.

He doesn't find a direct description in the manual. Is it related to the Intterup map described below?

Would you help to share your analysis?

Thanks,

Annie

  • Hi Team,

    Is there any update for this case?

    Thanks,

    Annie

  • Please be aware the SDL (Software Diagnostics Library) has examples on how to use the ESM module.

    Regarding the address 0x4080 0000, TRM shows this as Config Error Raw Status/Set Register

    For MCU_ESM0_CFG instance 0.  Following the register description Q = N * 32 + Bit. group N, is 0, and has bits 0,1,2 set.

    The register description includes a link to the following section in the TRM, is available, which provides additional information and indicates to check the Interrupt Sources in Section 9.

    From the ESM Interrupt Sources, n=0, would correspond to the MCU_PLLFRAC2_SSMOD0_LOCKLOSS_IPCFG_0, as has been pasted above in the original post.

    This aligns with the SDL 1.0 code, search on "SDLR_MCU_ESM0_ESM_LVL_EVENT_MCU_PLLFRAC2_SSMOD0_LOCKLOSS_IPCFG_0", and see the test code in sdl/test/j7_clock/main.h.

    Regards,

    kb