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.

AM2634: Where are the bit definitions for the ESM PCR registers?

Part Number: AM2634

Tool/software:

I am trying to enable all ECC and parity-check registers. Looking through the various examples in mcu_plus_sdk_am263x_10_00_00_35\examples\sdl\ecc, there is a ECC_Test_esmInitConfig_MAIN structure in ecc_trigger.c that I believe is enabling the interrupt for the specific ESM fault. The interrupts are enabled by setting bits at addresses 0x52D00428 and 0x52D0042C, yet the latest register addendum ESM register section (in spruj42e) only goes up to 0x52D00418 (in table 5-992). With the latest CCS 12.8 (using CLANG v3.2.2.LTS), my debugger view of registers also ends at this 0x52D00418. Where are the definitions of the registers at 0428 and 042C?

Also 2 additional questions:

1. What are the individual bit-definitions of these ESM registers? The TRM states "Each error event input can be enabled, via software, to cause an Error Interrupt to occur (Error Group N Interrupt Enabled Set Register (Base Address + 0x400 + N*0x20 + 0x08))." -- where are the individual bits defined? 

2. Is there a overall acronym list for this processor? I run across acronyms like CSP, MSS, MMR, but searching through the TRM, datasheet, and reg addendum, I cannot find the meaning. It would help to understand this processor if the acronyms were defined. 

Thanks,

Jim

  • Hi Jim,

    Offset = Base + (j * 20h) for ESM_RAW_j

    J is the group number. Please refer to Table 10-22. ESM0 Interrupt Map in device TRM.

    Group 0: event 0 ~event 31,

    Group 1: event 32 ~ event 63,

    Group 2 is for pulse events (Table 10-23).

  • Thanks QJ, That 10-22 table is key. I am figuring out the many of the acronyms, but regarding the other question, where is the documentation for addresses 0x52D00428 and 0x52D0042C (written to by the example code), when table 5-992 only goes up to 0x52D00418?

    Thanks,

    Jim

     

  • Hey QJ,

    Just wanted to give a friendly nudge on this thread, can you please help to answer Jim's question above? 

    Thanks!

    -Matt

  • Hi Jim,

    There are 3 ESM event groups (0, 1, 2), and there are 7 memory mapped error registers for each group: RAW, Status, interrupt enable, interrupt clear, interrupt priority, error pin enable and disable.

    The start address of group 0 is 0x52D0_0400  

    The start address of group 1 is 0x52D0_0420  

    The start address of group 2 is 0x52D0_0440  

    The interrupt set register for ESM group 1 is at 0x52D0_0428                 --- 0x52D0_0408 + 1* 0x20

    The error pin enable register for ESM group 1 is at 0x52D0_0434           --- 0x52D0_0414 + 1* 0x20