I have unsuccessfully tried to use the example program on the PWM downloaded from Keil's web site for the Philips 900 CapCom.c. I've created a HEX and downloaded it a MBC900.I've attempted to run it on their development board and also looked at the operation of the program using DeBug. Neither indicates the output operation of pins P2.1 or P2.6. I'm trying to understand the operation of th CCU so that I can vary the pulse width with values I choose. I've successfully run other programs on the MCB900. I truely hope someone out there can help me. Lloyd
Have you tried running it in the simulator? It appears to work for me in the simulator. If so, it is probubly a monitor configuarion issue, and not an example code issue. I did have to change the 'PLLE' to 'PLLEN' in the CapCom_PWM.c file