Hi folks,
I want to measure PWM signals but it does not work.
I configured NHET2 to generate a PWM signal. This works fine so far. Then I configured NHET4 as capture via HALCoGen. Finally I wired NHET2 with NHET4 and started my program. But nothing happens. I also checked the HETRAM but the data fields were 0 all the time.
My configuration:
HCLK: 160MHz
VCLK2: 80MHz
HRP: 5 -> HR clock: 13Mhz
LRP: 3 -> Loop Time: 1200ns
NHET2 as output
NHET4 as input
So, where is my mistake?