Hi,
I am using the TMS570 XDS560 emulator with a TMS570LS20216ZWT.
I am using a simple NHET program to generate a clock output on NHET pin 24.
My NHET code is as follows:
L00: CNT{next = L01, reg = A, max = 7};
L01: MCMP{next = L00, reg = A, en_pin_action = ON, hr_lr=HIGH, pin = CC24, action = PULSEHI, order = REG_GE_DATA, data = 0x3, hr_data = 0x0};
The value of HCLK (and NHET clock with VCLK2R = 0) is set to 125MHz.
I thought that with a count of 7, the PWM frequency should be 17.58MHz, but I am getting an output of 1.95MHz.
Ideally I am looking for a clock output of 16MHz.
Regards,
Dave