Hello,
We have one question ...
In our operation we have:
The NHET is running to trigger ADC operations and in preparation for operating an Inverter PWM (ex. Signals NHET[0-5]: GA_LOWER, GA_UPPER, GB_LOWER, GB_UPPER, GC_LOWER, GC_UPPER.). So the NHET program is running (HETGCR, Bit “TO” is 1).
Then before running the PWM we need to use the Gate Signals as GPIO to set them as follows for approximately 3 ms:
OFF: GA_UPPER, GB_UPPER, GC_UPPER
ON: GA_LOWER, GB_LOWER, GC_LOWER
We understand how to disable specific NHET outputs (to high impedance) as described in question & answer “NHET pin disable output”, like:
HETPINDIS = HETPINDIS or 0x3F
HETDIR = HETDIR or 0x3F
But our operations to Set or Clear specific outputs using HETDCLR and HETDSET seem to be overwritten by the NHET timer data.
Can you provide the specific register operations (or suggested NHET program change) to set some NHET outputs On and some Off?
We hope that the whole NHET operation does not need to be turned off (HETGCR, Bit “TO” set 0), but we may be able to work with that, if it is the required way.
Many Thanks,
Jim W.