Searched +full:usb +full:- +full:c +full:- +full:vbus +full:- +full:adc (Results 1 – 25 of 42) sorted by relevance
12
/Zephyr-latest/samples/subsys/usb_c/sink/boards/ |
D | b_g474e_dpow1.overlay | 2 * Copyright (c) 2022 The Chromium OS Authors. 4 * SPDX-License-Identifier: Apache-2.0 8 #include <dt-bindings/usb-c/pd.h> 12 usbc-port0 = &port1; 15 /* usbc.rst vbus-voltage-divider-adc start */ 16 vbus1: vbus { 17 compatible = "zephyr,usb-c-vbus-adc"; 18 io-channels = <&adc2 8>; 19 output-ohms = <49900>; 20 full-ohms = <(330000 + 49900)>; [all …]
|
D | stm32g081b_eval.overlay | 2 * Copyright (c) 2022 The Chromium OS Authors. 4 * SPDX-License-Identifier: Apache-2.0 8 #include <dt-bindings/usb-c/pd.h> 12 usbc-port0 = &port1; 15 vbus1: vbus { 16 compatible = "zephyr,usb-c-vbus-adc"; 17 io-channels = <&adc1 9>; 18 output-ohms = <49900>; 19 full-ohms = <(330000 + 49900)>; 21 /* Pin B13 is used to control VBUS Discharge for Port1 */ [all …]
|
/Zephyr-latest/drivers/usb_c/vbus/ |
D | Kconfig.usbc_vbus_adc | 1 # USB-C VBUS device configuration options 4 # SPDX-License-Identifier: Apache-2.0 7 bool "USB-C VBUS ADC" 11 Measure VBUS with an ADC through a voltage divider
|
D | usbc_vbus_adc.c | 4 * SPDX-License-Identifier: Apache-2.0 15 #include <zephyr/drivers/adc.h> 24 * @brief Reads and returns VBUS measured in mV 27 * @retval -EIO on failure 31 const struct usbc_vbus_config *const config = dev->config; in adc_vbus_measure() 32 struct usbc_vbus_data *data = dev->data; in adc_vbus_measure() 36 __ASSERT(meas != NULL, "ADC VBUS meas must not be NULL"); in adc_vbus_measure() 38 ret = adc_read(config->adc_channel.dev, &data->sequence); in adc_vbus_measure() 40 LOG_INF("ADC reading failed with error %d.", ret); in adc_vbus_measure() 44 value = data->sample; in adc_vbus_measure() [all …]
|
/Zephyr-latest/samples/subsys/usb_c/source/boards/ |
D | stm32g081b_eval.overlay | 2 * Copyright (c) 2023 The Chromium OS Authors. 4 * SPDX-License-Identifier: Apache-2.0 8 #include <dt-bindings/usb-c/pd.h> 12 usbc-port0 = &port1; 16 compatible = "pwm-leds"; 24 compatible = "gpio-leds"; 26 /* Pin D3 is used to enable VBUS Source */ 51 /* usbc.rst vbus-voltage-divider-adc start */ 52 vbus1: vbus { 53 compatible = "zephyr,usb-c-vbus-adc"; [all …]
|
/Zephyr-latest/doc/connectivity/usb/pd/ |
D | ucds.rst | 3 USB-C device stack 6 The USB-C device stack is a hardware independent interface between a 7 Type-C Port Controller (TCPC) and customer applications. It is a port of 8 the Google ChromeOS Type-C Port Manager (TCPM) stack. 11 * Uses the APIs provided by the Type-C Port Controller drivers to interact with 12 the Type-C Port Controller. 20 :zephyr:code-sample-category:`List<usbc>` of samples for different purposes. 22 Implementing a Sink Type-C and Power Delivery USB-C device 25 The configuration of a USB-C Device is done in the stack layer and devicetree. 29 * Devicetree usb-c-connector node referencing a TCPC [all …]
|
/Zephyr-latest/dts/bindings/usb-c/ |
D | zephyr,usb-c-vbus-adc.yaml | 2 # SPDX-License-Identifier: Apache-2.0 5 This device is used to measure VBUS on a Type-C Port and to 6 discharge VBUS when needed. 8 compatible: "zephyr,usb-c-vbus-adc" 10 include: [base.yaml, voltage-divider.yaml] 13 discharge-gpios: 14 type: phandle-array
|
D | usb-c-connector.yaml | 2 # SPDX-License-Identifier: Apache-2.0 5 A USB Type-C connector node represents a physical USB Type-C connector. 6 It should be a child of a USB-C interface controller or a separate node 7 when it is attached to both MUX and USB-C interface controller. 10 …l/git/torvalds/linux.git/tree/Documentation/devicetree/bindings/connector/usb-connector.yaml?h=v5.… 14 USB-C connector attached to a STM32 UCPD typec port controller, which has 17 vbus1: vbus { 18 compatible = "zephyr,usb-c-vbus-adc"; 19 io-channels = <&adc2 8>; 20 output-ohms = <49900>; [all …]
|
/Zephyr-latest/dts/bindings/tcpc/ |
D | nuvoton,numaker-tcpc.yaml | 1 # Copyright (c) 2024 Nuvoton Technology Corporation 2 # SPDX-License-Identifier: Apache-2.0 4 description: Nuvoton NuMaker USB Type-C port controller 6 compatible: "nuvoton,numaker-tcpc" 8 include: [base.yaml, reset-device.yaml, pinctrl-device.yaml] 23 vconn-overcurrent-event-polarity: 28 - "low-active" 29 - "high-active" 31 vconn-discharge-polarity: 36 - "low-active" [all …]
|
/Zephyr-latest/boards/weact/stm32g431_core/ |
D | weact_stm32g431_core.dts | 2 * Copyright (c) 2023 Andreas Sandberg 4 * SPDX-License-Identifier: Apache-2.0 7 /dts-v1/; 9 #include <st/g4/stm32g431c(6-8-b)ux-pinctrl.dtsi> 10 #include <zephyr/dt-bindings/usb-c/pd.h> 11 #include <zephyr/dt-bindings/input/input-event-codes.h> 15 compatible = "weact,stm32g431-core"; 19 zephyr,shell-uart = &usart2; 26 mcuboot-button0 = &button_0; 27 mcuboot-led0 = &led_0; [all …]
|
/Zephyr-latest/boards/weact/stm32g431_core/doc/ |
D | index.rst | 3 The WeAct STM32G431 Core Board is a low-cost bare-bones STM32G431-based development 7 Modifications USB-C Power Delivery 10 The board does not support USB-C PD in its standard configuration. To enable USB-C PD, CC1 11 and CC2 need to be disconnected from their pull-down resistors and be connected to PB6 and 13 CC2. VBUS also needs to be connected to the MCU through a voltage divider. 15 The pull-downs are disconnected by removing the zero-Ohm resistors on SB8 and SB9 next to 16 the USB-C connector. SB3, SB5, SB6, and SB7 then need to be closed to connect the CCx 20 considered reserved for USB-C and not available for other applications. 23 The internal USB DFU boot loader may not work correctly with machines that respect USB 24 PD signaling unless dead battery support has been enabled. A USB-C to USB-A adapter or [all …]
|
/Zephyr-latest/boards/st/stm32g071b_disco/doc/ |
D | index.rst | 5 The STM32G071B-DISCO Discovery board is a demonstration and development platform 6 for the STMicroelectronics Arm® Cortex® -M0+ core-based STM32G071RB USB Type-C™ 7 and Power Delivery microcontroller. The STM32G071B-DISCO Discovery board is 9 interoperability with other USB Type-C™ devices. The STM32G071B-DISCO Discovery 10 board is intended for discovery and display of USB Type-C™ port characteristics 11 such as data role, power role, VBUS and IBUS monitoring. It offers an advanced 13 as a USB Type-C™ and Power Delivery analyzer. 15 - STM32G071RBT6 microcontroller featuring 128 Kbytes of Flash memory and 17 - Plastic case 18 - 1” 128 x 64 pixels OLED LCD module with SPI interface [all …]
|
/Zephyr-latest/boards/nordic/nrf5340_audio_dk/ |
D | nrf5340_audio_dk_nrf5340_cpuapp_common.dtsi | 2 * Copyright (c) 2020-2022 Nordic Semiconductor ASA 4 * SPDX-License-Identifier: Apache-2.0 6 #include "nrf5340_audio_dk_nrf5340_cpuapp_common-pinctrl.dtsi" 7 #include <zephyr/dt-bindings/sensor/ina230.h> 12 zephyr,shell-uart = &uart0; 13 zephyr,uart-mcumgr = &uart0; 14 zephyr,bt-mon-uart = &uart0; 15 zephyr,bt-c2h-uart = &uart0; 16 zephyr,bt-hci = &bt_hci_ipc0; 20 gpio_fwd: nrf-gpio-forwarder { [all …]
|
/Zephyr-latest/boards/st/stm32g081b_eval/doc/ |
D | index.rst | 5 The STM32G081B-EVAL Evaluation board is a high-end development platform, for 6 Arm Cortex-M0+ core-based STM32G081RBT6 microcontroller, with USB Type-C and 7 power delivery controller interfaces (UCPD), compliant with USB type-C r1.2 8 and USB PD specification r3.0, two I2Cs, two SPIs, five USARTs, one LP UART, 9 one 12-bit ADC, two 12-bit DACs, two GP comparators, two LP timers, internal 11 hardware features on the STM32G081B-EVAL Evaluation board includes a mother 12 board, a legacy peripheral daughterboard and a USB-C and Power Delivery 13 daughterboard, which help to evaluate all peripherals (USB Type-C connector 14 with USB PD, motor control connector, RS232, RS485, Audio DAC, microphone ADC, 19 The board integrates an ST-LINK/V2-1 as an embedded in-circuit debugger and [all …]
|
/Zephyr-latest/boards/st/nucleo_l412rb_p/doc/ |
D | index.rst | 6 The Nucleo L412RB board features an ARM Cortex-M4 based STM32L412RB MCU 10 - STM32 microcontroller in LQFP64 package 11 - 1 user LED shared with ARDUINO |reg| 12 - 1 user and 1 reset push-buttons 13 - 32.768 kHz crystal oscillator 14 - Two types of extension resources: 16 - Arduino Uno V3 connectivity 17 - ST morpho extension pin headers for full access to all STM32 I/Os 19 - On-board ST-LINK debugger/programmer with USB re-enumeration capability: mass storage, Virtual CO… 20 - Flexible power-supply options: ST-LINK, USB VBUS, or external sources [all …]
|
/Zephyr-latest/boards/adi/sdp_k1/doc/ |
D | index.rst | 6 The EVAL-SDP-CK1Z (SDP-K1) controller board is a system demonstration platform 10 - STM32 microcontroller in BGA216 package 11 - USB 2.0 device with USB-C connector 12 - USB debug interface supporting CMSIS-DAP through a NXP Freescale 14 - Flexible board power supply 15 - USB VBUS 5 V max. 500 mA 16 - 5.5mm DC power jack 7 - 12 V min. 300 mA 17 - VIN from Arduino* compatible connectors 18 - VIN from 120-pin connector 5 V min. 300 mA 19 - 3 color LEDs (green, orange, red) and 1 status LED [all …]
|
/Zephyr-latest/boards/st/stm32u083c_dk/doc/ |
D | index.rst | 6 The STM32U083C_DK board, featuring an ARM Cortex-M0+ based STM32U083MC MCU, 12 - Ultra-low-power STM32U083MC microcontroller based on the Arm |reg| Cortex |reg|‑M0+ core, 15 - Board connectors: 17 - ST-LINK USB Type-C connector 18 - User USB Device with USB Type-C connector 19 - mikroBUS connectors 20 - MIPI debug in connector (Arm |reg| Cortex |reg| 10‑pin 1.27 mm‑pitch 22 - Extension connectors for full access to all STM32 I/Os 23 - VBAT dedicated connector provides the capability to power the board on a battery 25 - Flexible power-supply options: [all …]
|
/Zephyr-latest/boards/st/nucleo_f030r8/doc/ |
D | index.rst | 5 The STM32 Nucleo-64 development board with STM32F030R8 MCU, supports Arduino and ST morpho connecti… 15 The STM32 Nucleo board integrates the ST-LINK/V2-1 debugger and programmer. 26 - STM32 microcontroller in QFP64 package 27 - Two types of extension resources: 29 - Arduino* Uno V3 connectivity 30 - ST morpho extension pin headers for full access to all STM32 I/Os 32 - ARM* mbed* 33 - On-board ST-LINK/V2-1 debugger/programmer with SWD connector: 35 - Selection-mode switch to use the kit as a standalone ST-LINK/V2-1 37 - Flexible board power supply: [all …]
|
/Zephyr-latest/boards/st/nucleo_u031r8/doc/ |
D | index.rst | 6 The Nucleo U031R8 board, featuring an ARM Cortex-M0+ based STM32U031R8 MCU, 13 - STM32U031R8 microcontroller in LQFP48 package 14 - Two types of extension resources: 16 - Arduino Uno V3 connectivity 17 - ST morpho extension pin headers for full access to all STM32U0 I/Os 19 - On-board STLINK-V2EC debugger/programmer with USB re-enumeration 21 - Flexible board power supply: 23 - USB VBUS or external source(3.3V, 5V, 7 - 12V) 25 - User LED shared with ARDUINO |reg| Uno V3 26 - Two push-buttons: USER and RESET [all …]
|
/Zephyr-latest/boards/st/stm32h7s78_dk/doc/ |
D | index.rst | 6 The STM32H7S78-DK Discovery kit is designed as a complete demonstration and 7 development platform for STMicroelectronics Arm |reg| Cortex |reg|-M7 core-based 9 the STM32H7S78-DK Discovery board: 12 - STM32H7S7L8H6H microcontroller featuring 64Kbytes of Flash memory and 620 Kbytes of SRAM in 225-p… 13 - USB Type-C |trade| Host and device with USB power-delivery controller 14 - SAI Audio DAC stereo with one audio jacks for input/output, 15 - ST MEMS digital microphone with PDM interface 16 - Octo-SPI interface connected to 512Mbit Octo-SPI NORFlash memory device (MX66UW1G45GXD100 from MA… 17 - 10/100-Mbit Ethernet, 19 - Board connectors [all …]
|
/Zephyr-latest/boards/st/nucleo_g474re/doc/ |
D | index.rst | 6 The Nucleo G474RE board features an ARM Cortex-M4 based STM32G474RE MCU 10 - STM32 microcontroller in LQFP64 package 11 - Arduino Uno V3 connectivity 12 - On-board ST-LINK/V3E debugger/programmer with SWD connector 13 - Flexible board power supply: 15 - USB VBUS or external source(3.3V, 5V, 7 - 12V) 16 - Power management access point 18 - Three LEDs: USB communication (LD1), power LED (LD3), user LED (LD2) 19 - Two push-buttons: RESET and USER 28 - Ultra-low-power with FlexPowerControl (down to 28 nA Standby mode and 84 [all …]
|
/Zephyr-latest/boards/st/nucleo_u083rc/doc/ |
D | index.rst | 6 The Nucleo U083RC board, featuring an ARM Cortex-M0+ based STM32U083RC MCU, 13 - STM32U083RC microcontroller in LQFP64 package 14 - Two types of extension resources: 16 - Arduino Uno V3 connectivity 17 - ST morpho extension pin headers for full access to all STM32U0 I/Os 19 - On-board STLINK-V2EC debugger/programmer with USB re-enumeration 21 - Flexible board power supply: 23 - USB VBUS or external source(3.3V, 5V, 7 - 12V) 25 - User LED shared with ARDUINO |reg| Uno V3 26 - Two push-buttons: USER and RESET [all …]
|
/Zephyr-latest/boards/st/nucleo_g431rb/doc/ |
D | index.rst | 6 The Nucleo G431RB board features an ARM Cortex-M4 based STM32G431RB MCU 10 - STM32 microcontroller in LQFP64 package 11 - Arduino Uno V3 connectivity 12 - On-board ST-LINK/V3E debugger/programmer with SWD connector 13 - Flexible board power supply: 15 - USB VBUS or external source(3.3V, 5V, 7 - 12V) 16 - Power management access point 18 - Three LEDs: USB communication (LD1), power LED (LD3), user LED (LD2) 19 - Two push-buttons: RESET and USER 28 - Ultra-low-power with FlexPowerControl (down to 28 nA Standby mode and 84 [all …]
|
/Zephyr-latest/boards/st/nucleo_u5a5zj_q/doc/ |
D | index.rst | 6 The Nucleo U5A5ZJ Q board, featuring an ARM Cortex-M33 based STM32U5A5ZJ MCU, 13 - STM32U5A5ZJ microcontroller in LQFP144 package 14 - Internal SMPS to generate V core logic supply 15 - Two types of extension resources: 17 - Arduino Uno V3 connectivity 18 - ST morpho extension pin headers for full access to all STM32 I/Os 20 - On-board ST-LINK/V3E debugger/programmer 21 - Flexible board power supply: 23 - USB VBUS or external source(3.3V, 5V, 7 - 12V) 24 - ST-Link V3E [all …]
|
/Zephyr-latest/boards/st/nucleo_u575zi_q/doc/ |
D | index.rst | 6 The Nucleo U575ZI Q board, featuring an ARM Cortex-M33 based STM32U575ZI MCU, 13 - STM32U575ZI microcontroller in LQFP144 package 14 - Internal SMPS to generate V core logic supply 15 - Two types of extension resources: 17 - Arduino Uno V3 connectivity 18 - ST morpho extension pin headers for full access to all STM32 I/Os 20 - On-board ST-LINK/V3E debugger/programmer 21 - Flexible board power supply: 23 - USB VBUS or external source(3.3V, 5V, 7 - 12V) 24 - ST-Link V3E [all …]
|
12