Hello,
I am currently working with the LPC55S16 microcontroller and using the SCTIMER peripheral. I would like to capture the counter value on an input signal edge (for example, rising edge on a GPIO connected via INPUTMUX), and I found the SCTIMER_SetupCaptureAction() function in the SDK.
However, I could not find any example or documentation showing how to properly use this API in a capture scenario. I would really appreciate it if NXP could provide a simple usage example of SCTIMER_SetupCaptureAction() to capture events on an input pin, including:
This would help a lot in understanding how to correctly use the SCTIMER in input capture mode. Thank you in advance for your support!
Best regards,
Patrice
已解决! 转到解答。
Hi @PBouchand
Currently, LPC55S16 does not have ctimer capture demo.
But you can refer to the rw612 ctimer capture demo.
mcux-sdk-examples/frdmrw612/driver_examples/ctimer/capture/capture.c at main · nxp-mcuxpresso/mcux-s...
BR
Harry
Hi @PBouchand
Currently, LPC55S16 does not have ctimer capture demo.
But you can refer to the rw612 ctimer capture demo.
mcux-sdk-examples/frdmrw612/driver_examples/ctimer/capture/capture.c at main · nxp-mcuxpresso/mcux-s...
BR
Harry