Hi,
I am trying to understand how to access HET from my application program and update PWM duty cycle. I found an example from TI forums (http://e2e.ti.com/support/microcontrollers/hercules/f/312/t/132571). In this example the file "include/het.h" defines an array of hetRAMBASE_t on line 405. This is an array of 160 elements. Could you please explain how you came up with 160?
Also in "source/het.c" on line 1600:
double period = hetRAM->Instruction[(pwm << 1U) + 42U].Data + 128U;
Please explain how was the indexing obtained in this array?
I am using this as a reference to implement PWM usin HET on TMS470R1B1M-HT.
Pinakin