Route the ACOMP output and CTimer0 Cap0 input to the same pin via SWM

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Route the ACOMP output and CTimer0 Cap0 input to the same pin via SWM

Route the ACOMP output and CTimer0 Cap0 input to the same pin via SWM

For the LPC8xx family, the peripheral module input or output signals are not connected to
external pads fixedly as most processor does . With SWM module, the peripheral module input
or output signals can be routed to any external GPIO pins via software configuration
There is special requirement that one peripheral output signal functions as the input signal of
another peripheral, in the case, the peripheral output signal and the peripheral input signal
can be routed to the same pad via SWM so that the input and output signals are connected
internally without external cable.
The LPC802 has ACOMP module, CTimer module and SWM module, per customer
requirement, the ACOMP output signal and CTimer0 capture 0 input signal can be routed to
the same GPIO pin without external connection so that the ACOMP output signal can trigger
CTimer0 capture 0 event internally.

In the doc, I give the code to configure the CTimer, ACOMP and the SWM, explain the configuration,introduce the tools, board and result.

 

Labels (2)
Attachments
No ratings
Version history
Last update:
‎06-09-2022 12:41 AM
Updated by: