Part 1
요약·해설
지원 board, input source, 두 build·flash 명령과 console output 동작을 설명합니다.
Internal DAC
Potentiometer
J25-13
Part 2
접을 수 있는 영어 원문 전체
영어 원문 전체 펼치기
1CA85A7FCFA136C42E18F84183BF16100E83416C7162AC22070EEDD5A76B5A3B
.. _mcux_acmp:
NXP MCUX Analog Comparator (ACMP)
#################################
Overview
********
This sample show how to use the NXP MCUX Analog Comparator (ACMP) driver. The
sample supports the :ref:`twr_ke18f`, :ref:`mimxrt1170_evk`.
The input voltage for the negative input of the analog comparator is
provided by the ACMP Digital-to-Analog Converter (DAC). The input voltage for
the positive input can be adjusted by turning the on-board potentiometer for
:ref:`twr_ke18f` board, for :ref:`mimxrt1170_evk` the voltage signal is
captured on J25-13, need change the external voltage signal to check the
output.
The output value of the analog comparator is reported on the console.
Building and Running
********************
Building and Running for TWR-KE18F
==================================
Build the application for the :ref:`twr_ke18f` board, and adjust the
ACMP input voltage by turning the on-board potentiometer.
.. zephyr-app-commands::
:zephyr-app: samples/sensor/mcux_acmp
:board: twr_ke18f
:goals: flash
:compact:
Building and Running for MIMXRT1170-EVK
=======================================
Build the application for the MIMXRT1170-EVK board, and adjust the
ACMP input voltage by changing the voltage input to J25-13.
.. zephyr-app-commands::
:zephyr-app: samples/sensor/mcux_acmp
:board: mimxrt1170_evk_cm7
:goals: flash
:compact:
Part 3
한국어 전문 번역
개요
NXP MCUX Analog Comparator(ACMP) driver 사용법을 보여 주는 sample이며 twr_ke18f와 mimxrt1170_evk를 지원합니다.
Analog comparator의 negative input voltage는 ACMP Digital-to-Analog Converter(DAC)가 제공합니다. Positive input voltage는 twr_ke18f의 on-board potentiometer를 돌려 조정할 수 있습니다. mimxrt1170_evk에서는 J25-13에서 voltage signal을 받아, 외부 voltage signal을 바꾸면서 output을 확인해야 합니다.
Analog comparator의 output value는 console에 보고됩니다.
빌드 및 실행
TWR-KE18F에서 빌드 및 실행
twr_ke18f board용 application을 build하고 on-board potentiometer를 돌려 ACMP input voltage를 조정합니다.
west build -b twr_ke18f samples/sensor/mcux_acmp
west flash
MIMXRT1170-EVK에서 빌드 및 실행
MIMXRT1170-EVK board용 application을 build하고 J25-13에 입력하는 voltage를 바꿔 ACMP input voltage를 조정합니다.
west build -b mimxrt1170_evk_cm7 samples/sensor/mcux_acmp
west flash
Source
출처
영어 원문에는 문단, 문서 지시문, 표, 코드, 코드 심벌, 경로를 그대로 보존했습니다.