Hi,
is it possible for the C164ci target in simulation mode to make the pin toggling of the CAPCOM output visible inside the Logic Analyzer (PK-166)?
I am using the CAPCOM6 in Edge Aligned mode, cnfigured for PWM usage. I would like to debug the output signalCOUT60 (P1L.1) and COUT61 (P1L.3) using the Logic Analyzer.
/* PWM0 and PWM1 signal frequency configuration */ D_PWM1 = 1; D_PWM2 = 1; /* Configuration of the PWM outputs */ CC6MSEL = 0x0022; /* 5V -> 10bits */ CTCON = 0x001C; /* 10230 = 100% full scale */ T12P = 10230; T12OF = 0;
Thank you in advance for any hints or experiences, Sammy
Hi Chris,
thank you very very much for your help :-)) I can now simulate the output of the CAPCOM6 within the Logic Analyzer, using exactly your code. :-)) For viewing pin toggling within the Logic Analyzer I need to setup the VTREGs of the ports PORT1L.1 and PORT1L.3.
Great it works, Sammy