Lines Matching +full:board +full:- +full:to +full:- +full:board
1 .. zephyr:code-sample:: mcux_lpcmp
2 :name: NXP MCUX Low-power Analog Comparator (LPCMP)
3 :relevant-api: sensor_interface
5 Get analog comparator data from an NXP MCUX Low-power Analog Comparator (LPCMP).
10 This sample show how to use the NXP MCUX Low-power Analog Comparator (LPCMP) driver.
12 In this application, the negative input port of the LPCMP is set to 7 which
14 voltage of the DAC is set to 0 (for the specific chip, the user needs to
15 check the reference manual to confirm where this reference voltage comes
16 from), the output voltage of the DAC is equal to (VREF/256)*(data+1), where
18 The positive input port is set to 0, the user needs to check the reference
19 manual and board schematic to confirm which specific port is used and can
20 connect an external voltage to that port and change the input voltage to
28 Building and Running for NXP FRDM-MCXN947
30 Build the application for the :zephyr:board:`frdm_mcxn947` board, and adjust the
31 LPCMP positive input port voltage by changing the voltage input to J2-17.
33 .. zephyr-app-commands::
34 :zephyr-app: samples/sensor/mcux_lpcmp
35 :board: frdm_mcxn947//cpu0
39 Building and Running for NXP FRDM-MCXN236
41 Build the application for the :zephyr:board:`frdm_mcxn236` board, and adjust the
42 LPCMP positive input port voltage by changing the voltage input to J2-8.
44 .. zephyr-app-commands::
45 :zephyr-app: samples/sensor/mcux_lpcmp
46 :board: frdm_mcxn236
50 Building and Running for NXP FRDM-MCXA156
52 Build the application for the :zephyr:board:`frdm_mcxa156` board, and adjust the
53 LPCMP positive input port voltage by changing the voltage input to J2-9.
55 .. zephyr-app-commands::
56 :zephyr-app: samples/sensor/mcux_lpcmp
57 :board: frdm_mcxa156