Commit 1a8496d8 authored by Zhaoxiang Jin's avatar Zhaoxiang Jin Committed by Benjamin Cabé
Browse files

samples: dac: Enable dac sample on mimxrt1180_evk



Enable dac sample on mimxrt1180_evk

Signed-off-by: default avatarZhaoxiang Jin <Zhaoxiang.Jin_1@nxp.com>
parent 7638d220
Loading
Loading
Loading
Loading
+19 −0
Original line number Diff line number Diff line
@@ -222,6 +222,25 @@ follows:

DAC output is available on connector J12 pin 4.

Building and Running for MIMXRT1180-EVK
=======================================
The sample can be built and executed for the :zephyr:board:`mimxrt1180_evk` as
follows:

.. zephyr-app-commands::
   :zephyr-app: samples/drivers/dac
   :board: mimxrt1180_evk/mimxrt1189/cm33
   :goals: flash
   :compact:

.. zephyr-app-commands::
   :zephyr-app: samples/drivers/dac
   :board: mimxrt1180_evk/mimxrt1189/cm7
   :goals: flash
   :compact:

Connect J10 pin 1-2., the DAC output is available on TP9.

Sample output
=============

+13 −0
Original line number Diff line number Diff line
/*
 * Copyright 2025 NXP
 *
 * SPDX-License-Identifier: Apache-2.0
 */

/ {
	zephyr,user {
		dac = <&dac>;
		dac-channel-id = <0>;
		dac-resolution = <12>;
	};
};
+13 −0
Original line number Diff line number Diff line
/*
 * Copyright 2025 NXP
 *
 * SPDX-License-Identifier: Apache-2.0
 */

/ {
	zephyr,user {
		dac = <&dac>;
		dac-channel-id = <0>;
		dac-resolution = <12>;
	};
};