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.

AWR1843AOP: ESM modül

Part Number: AWR1843AOP
Other Parts Discussed in Thread: AWR1843

Hello,

I am trying to use the ESM module to monitor errors coming from the device for functional safety purposes. I want to test the module using the registerNotifier() function and I would like to monitor all errors coming from Group 1, Group 2, and Group 3. In the watchdog driver, there is an example to stimulate DSS_GP2_ERR, but I'm not sure how I can trigger other interrupts from different groups using software. How can I set up an interrupt-driven structure for this? Or do I need to continuously poll for errors? I need to access these error records for functional safety.

If I can't test the entire ESM module and keep records, how will the ESM module work in the event of an error? Will it trigger an interrupt, or do I need to read the registers? Will the relevant error bit be set to 1 in the register? If the error bit is set to 1, how can I clear this error and restore the operation of the ESM?

Please note that there is a safety NDA (Non-Disclosure Agreement) between our company and TI (Texas Instruments). I would appreciate a detailed response to my questions.

Best regards
Onur Emre UYGUN

  • Hey Onur,

    If you would like to trigger other interrupts from different groups, you should be able to find different examples in the Software Diagnostics Library (SDL) - likely under diag/src/r4f. If you don't already have access to the SDL, we will be able to grant you access to the SDL through mySecure once we review your companies NDA. As for your other questions, the SDL has code to test the entire ESM module. You can trigger the interrupts as described on p. 3045-3046 of the AWR1843 TRM. You can also directly read the ESM status registers (ESMSR) and will need to clear the set error bit by writing a 1 to it during the relevant ISR. The registers map to the different group channels as described below:

    ESMSR1 = Group 1 (Channel 0-31)
    ESMSR4 = Group 4 (Channel 32-63)
    ESMSR2 = Group 2 (Channel 0-31)
    ESMSR3 = Group 3 (Channel 0-31)

    I would recommend reading through most, if not all, of Section 29.2 (p. 3400) to understand how the ESM works and what all the ESM registers are used for. I've also included a list of pages that you might find helpful.

    p. 245 - description of ESM group mapping for AWR1843
    p. 3405 - forcing an error condition
    p. 
    3406 - recommended programming steps for ESM initialization
    p. 3407 - description of MSS_ESM registers

    Let me know if you have any other questions.

    Regards,

    Kristien

  • Hi Kristien,

    Unfortunately, we do not have SDL access, but we do have safety NDA access. After checking, if you can share the SDL, I would appreciate it. Also, thank you for the other information you provided. It was good to refresh my knowledge.

    Regards

    Onur Emre Uygun

  • Hey Onur,

    We will give you access to the SDL through mySecure within one to two business days. Please let me know if you have any issues accessing the SDL through mySecure or do not receive it within the given time frame.

    Regards,

    Kristien

  • Hi Kristien,

    I've been granted access to the Ti MMWAVE-SAFETY-RESTRICTED-IWR6843 file, but it doesn't contain the Software Diagnostics Library (SDL). Can you please verify this?

    Regards

    Onur Emre

  • Hey Onur,

    That was a mistake on our end. We will share the correct mySecure SDL folder within the next hour. Let us know if there are any other issues.

    Regards,

    Kristien