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.

HET creating a waveform



Hello,

I would like to output a waveform of duty cycles calculated in array.

The PWM should run with 800kHz and i would like to iterate through the duty cycle array with 160kHz.

Inside the HET-IDE i found this example:

; PWM with synchronous duty cycle update at period end
L00 CNT     {  reg=A, irq=OFF, max= 49 }
L01 MOV32 { remote=L02, z_cond=ON,  type=IMTOREG&REM, reg=NONE, data=1, hr_data=20} ; CPU to write to this data field
L02 ECMP   {  en_pin_action=ON, pin=0, action=PULSELO, reg=A, data= 2, hr_data=80}
L03 BR        { next= L00, cond_addr=L00, event= NOCOND }

Is it possible that i can store the array of duty cycles inside that HET program? 

So that the CPU (Line L02) does not have to update with alot of interrupts?

Thanks alot!