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.

Activate error pin

Other Parts Discussed in Thread: HALCOGEN

Hi,

I am using the TSM570LS0332, CCS6 and Halcogen 4.1.

 

I want to be able to activate the nERROR pin when I have an error.  As best as I can tell, this needs to be done through the ESM module.  All of the channels are either marked "reserved" or have a specific function in Halcogen (ie ECC single error).

 

How can I set it up so that I can activate the pin for other errors?

 

Thanks,
David

  • Hi David,

    The effect of ESM group2 and group3 errors on the nERROR pin is not configurable. The "ESM Enable nERROR Pin Action / Response Register" at address 0xFFFFF500 allows you to configure group1 errors to cause nERROR to be driven. Each bit in this register controls the effect of the corresponding group1 error channel. e.g. bit 0 controls ESM group1 channel 0,and so on.

    Incidentally, you can also choose to generate an interrupt to the CPU whenever a group1 error occurs. This can be configured via the "ESM Interrupt Enable Set / Status Register" at address 0xFFFFF508.

    Regards, Sunil

  • Hi,

    Can I configure it so that I determine what causes a group1 error for channel x?

     

    For instance, if I have run time diagnostics, if one of my tests fails I want to trip the ESM for a channel to drive the nError pin.

     

  • Hi David,

    I may not be understanding the question completely, so please correct me if I answer the wrong question.

    Each ESM channel is hard-wired to a specific error condition. This mapping is described in the device datasheet. For example, ESM group1 channel mapping is described in table 4-26 on page 58 of SPNS186A (from Sept 2013).

    You get to choose which group1 errors actually cause the nERROR pin to be asserted. Also, the software can read the group1 status register to identify which error condition was detected.

    Regards, Sunil

  • I think that does answer my question, I can't use an ESM channel for my own error conditions.

     

    Is there any other way to activate the nError pin? Can I set it through a register?

  • Yes, the ESM supports a mode called the "Error Forcing" mode, in which the software can write 0xA to the ESMEKR register (@ 0xFFFFF538) and cause the nERROR pin to be driven low. This is described in section 11.2.3 on page 335 of SPNU517a (from Sept 2013).

    Note that the nERROR pin does not indicate normal group2/3 errors when in an error-forcing mode. You can bring it back to "normal" mode by writing 0x0 to ESMEKR once you are done with your check.

    Regards, Sunil