This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Configure EBC to become a PWM signal on Pin P1L

Hello,

I am trying to use CC60 and COUT60 on the XC167 to generate a simple PWM generation with CAPCOM6.

I am debugging using the µVision3. My problem is that my program and the PWM signals runs well on the debugger, I see the pins values with Logic analyzer. However, the port pins P1L_P0 and P1L_P1 on the card remain low.
With the same declarations (except ALTSEL) I received something on an other port (P7.P5).

I have disabled the EBC (EBCMOD0 = 0x7430 & EBCMOD1 = 0x003F). The port pins are set to output everywhere in my program but still no output.

With the reload values of these registers, the LED's (port 2)and the monitor(port 3) works fine, but when I enter the new values, they work no more.
Where is the problem?

Thanks