Other Parts Discussed in Thread: HALCOGEN, TMS570LS1224
Various articles mention that the following HET instructions would generate two 1 PPS signals on HET1_4 and HET1_23, with LR of 1.6 microseconds...
L0 CNT { reg=A,max=624999,data=0};
L1 ECMP { hr_lr=LOW,en_pin_action=ON,pin=4,action=PULSEHI,reg=A,irq=ON,data=312500,hr_data=0};
L2 CNT { reg=B,max=624999,data=0};
L3 ECMP { hr_lr=LOW,en_pin_action=ON,pin=23,action=PULSEHI,reg=B,irq=ON,data=312500,hr_data=0};
However, I'm not seeing this happening reliably, as sometimes I see a nice 50% duty-cycle 1 sec clock and other times I see no clock or "random" (duty-cycle or period) clocks. This is after I just used CCS to download the image. I actually have to power-cycle the Launchpad board to get the HET1 clocks started at all.
I suspect that regA and regB need to be explicitly initialized, or some such initialization is not happening. hetInit() is always called in the same way. The HET IDE shows all registers set to 0 on start-up, but I'm guessing this is either only in the simulator or some (real) "hardware" signal triggers it (on power-up?) rather than something done via hetInit().
Any insight would be highly appreciated. Thanks.

