tests: drivers: dac loopback on stm32wl55jc nucleo board

define DAC1 output1 on PA10 (ARD connector A2)
define ADC1 in1 on PB14 (ARD connector A4)
connect A2 to A4 on the nucleo target board (CN8)

Signed-off-by: Francois Ramu <francois.ramu@st.com>
This commit is contained in:
Francois Ramu 2021-12-16 13:30:07 +01:00 committed by Christopher Friedt
commit 148db8b187
3 changed files with 19 additions and 1 deletions

View file

@ -0,0 +1,17 @@
/*
* Copyright (c) 2021 STMicroelectronics
*
* SPDX-License-Identifier: Apache-2.0
*/
&adc1 {
status = "okay";
pinctrl-0 = <&adc_in1_pb14>;
pinctrl-names = "default";
};
&dac1 {
status = "okay";
pinctrl-0 = <&dac_out1_pa10>;
pinctrl-names = "default";
};

View file

@ -31,6 +31,7 @@
defined(CONFIG_BOARD_STM32F3_DISCO) || \
defined(CONFIG_BOARD_STM32L562E_DK) || \
defined(CONFIG_BOARD_NUCLEO_L552ZE_Q) || \
defined(CONFIG_BOARD_NUCLEO_WL55JC) || \
defined(CONFIG_BOARD_RONOTH_LODEV)
/*

View file

@ -9,4 +9,4 @@ tests:
platform_allow: |
frdm_k22f frdm_k64f nucleo_f207zg nucleo_l073rz nucleo_l152re twr_ke18f
bl652_dvk bl653_dvk bl654_dvk bl5340_dvk_cpuapp stm32f3_disco stm32l562e_dk
nucleo_l552ze_q nucleo_f429zi nucleo_f746zg
nucleo_l552ze_q nucleo_f429zi nucleo_f746zg nucleo_wl55jc