LPC11U24 CT32 capture registers

03 Dec 2012

I am implementing frequency and phase measurement with the LPC11U24 mbed, and am finding some discrepancies in the datasheet. I want to use two capture registers with one counter, if possible. The datasheet indicates that P0.17 can be used as CT32B0_CAP0 and P1.29 can be used as CT32B0_CAP1, but the detailed descriptions of CT32B0 registers seems to indicate that there is no CT32B0_CAP1. CT32B1 register descriptions list both a CAP0 and CAP1, but when I change all my references from CT32B0 to CT32B1, enable that timer, and connect my signal to P0.12 (after configuring that pin to CT32B1_CAP0 function), I get no interrupts. Is there something special about that pin because its primary function is TMS (jtag signal)?

If anybody has successfully used two capture registers on the LPC11U24 I'm eager to hear from them.

Thanks,
-Ralph

09 Sep 2015

Hello bro:

i am also want to measure the frequency. But i failed , can u sent ur code to email?