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.

TMS570LC4357: What Safety Measures should be use when N2HET are used as I/O only?

Part Number: TMS570LC4357


Hi Experts,

I have some questions regarding the N2HETs. We do not want to use the N2HETs in our application, but we want to use the pins as General Purpose I/O. The Safety Manual recommends turning of unused  IPs via PCR.

(Q1) Is it possible turn of N2HETs via PCR clock gating and still use the N2HETs Pins?

(Q2) Which safety Measures, besides HET10, HET11 should be used when only using the Pins?

Thank you and best regards,
Max

  • Hi Max,

    (Q1) Is it possible turn of N2HETs via PCR clock gating and still use the N2HETs Pins?

    You do need the clock to the N2HETx to still be ON in order to use the pins as general-purpose input/output. You can leave the HET coprocessor OFF if there is no program loaded into the HET memory. This is controlled by the "Turn ON/OFF" bit-field of the HETGCR register.

    (Q2) Which safety Measures, besides HET10, HET11 should be used when only using the Pins?

    You should consider implementing HET5A/B (test I/O loop-back), HET10, HET11.

    Also, you could write a HET program to allow you to generate an interrupt whenever a rising / falling edge is detected on a given input. In this case you should also consider implementing all other safety mechanisms related to HET code execution.