boards: stm32U585 disco kit enables the ADC1 peripheral
This PR enables the ADC1 for the b_u585i_iot02a disco kit with input pin channel 15 on pb0. Signed-off-by: Francois Ramu <francois.ramu@st.com>
This commit is contained in:
parent
5c1fa04b2c
commit
9d3ff71ae5
3 changed files with 9 additions and 0 deletions
|
@ -72,6 +72,11 @@ zephyr_udc0: &usbotg_fs {
|
|||
status = "okay";
|
||||
};
|
||||
|
||||
&adc1 {
|
||||
pinctrl-0 = <&adc1_in15_pb0>;
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&dac1 {
|
||||
pinctrl-0 = <&dac1_out1_pa4>;
|
||||
status = "okay";
|
||||
|
|
|
@ -15,4 +15,5 @@ supported:
|
|||
- usb_device
|
||||
- spi
|
||||
- dac
|
||||
- adc
|
||||
- watchdog
|
||||
|
|
|
@ -184,6 +184,8 @@ The Zephyr b_u585i_iot02a board configuration supports the following hardware fe
|
|||
+-----------+------------+-------------------------------------+
|
||||
| DAC | on-chip | dac |
|
||||
+-----------+------------+-------------------------------------+
|
||||
| ADC | on-chip | adc |
|
||||
+-----------+------------+-------------------------------------+
|
||||
| WATCHDOG | on-chip | independent watchdog |
|
||||
+-----------+------------+-------------------------------------+
|
||||
| USB | on-chip | usb_device |
|
||||
|
@ -213,6 +215,7 @@ Default Zephyr Peripheral Mapping:
|
|||
- I2C_1 SDA/SDL : PB9/PB8 (Arduino I2C)
|
||||
- I2C_2 SDA/SDL : PH5/PH4
|
||||
- DAC1 CH1 : PA4 (STMOD+1)
|
||||
- ADC1_IN15 : PB0
|
||||
- USB OTG : PA11/PA12
|
||||
|
||||
System Clock
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue