Content originally posted in LPCWare by RodColeman on Tue Jan 31 08:30:26 MST 2012
Quote: CasperH
Hi
I'm having a problem getting the PWM to work on PIO0_11 on the LPC11C24 controller. The PIO0_11 is on CT32B0 MAT3, if I choose MAT2 it works, but not on MAT3. I think my problem is that the PIO0_11 is also the JTAG_TDI. Does anyone know what to do to make MAT3 work?
Best regards
Casper
Casper, I think that some of the driver (HAL Layer) files will refuse to configure the IOCON for IO or Timer function, unless JTAG functionality has been un-DEFINEd somewhere.
As a quick test, (if you do not use JTAG) you could repeat the LPC_IOCON->PIO0_11 = statement in your timer initialisation function, and see if it works like that.