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.

NHET2 prescalers and program size



Hi,

I'm working with a RM48HDK.

Do a four instruction HET program can be executed with a lr prescaler 2 (==4 cycles) or the HET need some more time slot to restart?

I have a simple multi-pwm program made of 4 instruction:

L00 CNT {next=L01,reg=A,max=32}

L01 MCMP {next=L02, en_pin_action=ON,pin=1,order=REG_GE_DATA,action=PULSEHI,data=8}

L02 MCPM {next=L03, en_pin_action=ON,pin=5,order=REG_GE_DATA,action=PULSEHI,data=16}

L03 MCMP {next=L00, en_pin_action=ON,pin=13,order=REG_GE_DATA,action=PULSEHI,data=24}

 

that should require only 4 cycle but setting the lr to 2 (==4 cycle) seems to disable the fourth instruction (i don't see the pwm on the pin 13).

Thank you