-
Notifications
You must be signed in to change notification settings - Fork 556
[PXCT-1434] Force Boot mode #3029
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
karlsoderby
wants to merge
3
commits into
main
Choose a base branch
from
karlsoderby/uno-q-force-mode
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 1 commit
Commits
Show all changes
3 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
Binary file added
BIN
+1.31 MB
...hardware/02.uno/boards/uno-q/tutorials/11.host-mode/assets/enable-host-mode.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
32 changes: 32 additions & 0 deletions
32
content/hardware/02.uno/boards/uno-q/tutorials/11.host-mode/host-mode.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,32 @@ | ||
| --- | ||
| title: Force USB Host Mode on UNO Q | ||
| description: Learn how to force USB host mode on the UNO Q by shorting two pins on the JCTL header. | ||
| author: Karl Söderby | ||
| tags: [UNO Q, USB, host mode, JCTL, PMIC] | ||
| --- | ||
|
|
||
| When the **Arduino® UNO Q** is powered externally via the 5V/VIN pin rather than the USB-C® port, the PMIC does not detect a USB connection and therefore does not enable the VBUS path. This means USB peripherals connected to the USB-C® port may not be detected. | ||
|
karlsoderby marked this conversation as resolved.
Outdated
|
||
|
|
||
| To work around this, you can force USB host mode by shorting two specific pins on the **JCTL** header. This instructs the USB-C® controller to operate as a host regardless of how the board is powered. | ||
|
karlsoderby marked this conversation as resolved.
Outdated
|
||
|
|
||
| ## Requirements | ||
|
|
||
| - (x1) [Arduino® UNO Q 2GB](https://store.arduino.cc/products/uno-q) or [UNO Q 4GB](https://store.arduino.cc/products/uno-q-4gb) | ||
| - (x1) [Arduino® UNO Breakout Carrier](https://store.arduino.cc/products/uno-breakout-carrier) | ||
|
karlsoderby marked this conversation as resolved.
Outdated
|
||
| - (x1) [USB-C® cable](https://store.arduino.cc/products/usb-cable2in1-type-c) | ||
| - Female-to-female jumper cable or jumper cap | ||
|
|
||
| ## Force Host Mode | ||
|
|
||
| With the board **powered off**, short the two designated pins on the **JCTL** header using a jumper cable or cap, as shown in the image below. | ||
|
|
||
|  | ||
|
|
||
| Power the board on. The USB-C® controller will now operate in host mode and USB peripherals will be detected as expected. | ||
|
|
||
| <Alert type="info"> | ||
|
|
||
| The JCTL header operates at **1.8 V** logic. Never attempt applying 3.3 V or 5 V signals to these pins (in this tutorial, we are simply shorting them). | ||
|
|
||
| </Alert> | ||
|
|
||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.