HETPFR[31:0] register = 0x301
This works fine:
L00 CNT {next=01h, reg=A, irq=OFF, max = 4 }
L01 ECMP {next=L02, reg=A, hr_lr=HIGH, en_pin_action=ON, pin=CC2, action=PULSEHI, irq=Off, data=1, hr_data=0x10}
L02 ECMP {next=00h, en_pin_action=ON, cond_addr= 00h, pin=CC0, action=PULSEHI, reg=A, irq=OFF, data= 1 }
This one doesn't:
L00 CNT {next=01h, reg=A, irq=OFF, max = 4 }
L01 ECMP {next=L02, reg=A, hr_lr=HIGH, en_pin_action=ON, pin=CC2, action=SET, irq=Off, data=1, hr_data=0x10}
L02 ECMP {next=L03, reg=A, hr_lr=HIGH, en_pin_action=ON, pin=CC2, action=CLEAR, irq=Off, data=4}
L03 ECMP {next=00h, en_pin_action=ON, cond_addr= 00h, pin=CC0, action=PULSEHI, reg=A, irq=OFF, data= 1 }
Is it suppose to work with SET/CLEAR as well? I am using the SM470R1B1M-SK eval board from IAR.
Thanks in advance.
Giuseppe