usb_pd_alt_mode_dp_host
Overview
This PD example is a simple demonstration based on the MCUXpresso SDK PD stack.
The application use the shield host board (om13790host) to implement the DisplayPort alternate mode.
It recognize attached video adapters (like “Type-C to DisplayPort” or “Type-C to HDMI”), and drive the adapter to work.
System Requirement
Hardware requirements
One Type-C shield host board
One 9V DC power supply
Type-C Cable
One hardware for a specific device, for example: one lpcxpresso54114 board
Personal Computer
Software requirements
The project files are in:
<MCUXpresso_SDK_Install>/boards//usb_examples/usb_pd_alt_mode_dp_host/ / .
The
is Bare Metal or FreeRTOS OS.
Terminal tool.
Getting Started
Hardware Settings
For detailed instructions, see the appropriate board User’s Guide.
Please reference to the re-worked document for hardware settings.
Prepare the example
For MCUXpresso, please reference to the MCUXpresso SDK USB Type-C PD Stack User’s Guide to make sure the SDK_DEBUGCONSOLE = 1 in project settings.
Download the program to the target board.
Power on shield host board then power on development board.
Run the example
Download this program to the board.
Connect the video source (like: PC) to the MinDP port (J2).
Connect one video adapter (like: “Type-C to DisplayPort” or “Type-C to HDMI”) to the Type-C port (J1).
Connect one displayer to the adapter. For example: if the adapter is one “Type-C to DisplayPort” adapter, connect displayer to the adapter with one DisplayPort cable.
The video source (PC) will recognize the displayer and the displayer works.
The follow UGREEN USB-C to HDMI/VGA device has one issue. If keeping the device connected with shield host board, then reset mcu board, the UGREEN device doesn’t work.
Supported Boards
EVKB-IMXRT1050
MIMXRT1060-EVKB
MIMXRT1170-EVKB
MIMXRT1060-EVKC
EVK-MIMXRT1015
MIMXRT1040-EVK
EVK-MIMXRT1064
MIMXRT1160-EVK
MIMXRT1180-EVK
EVK-MIMXRT595
EVK-MIMXRT685
FRDM-K22F
FRDM-K32L2A4S
FRDM-MCXN236
FRDM-MCXN947
LPCXpresso55S16
LPCXpresso55S28
LPCXpresso55S36
LPCXpresso55S69
MCX-N5XX-EVK
MCX-N9XX-EVK
MIMXRT685-AUD-EVK
MIMXRT700-EVK