Hi All,
Looking at the QTPy RP2040 schematic, i wonder why USBBOOT net is connected to GPIO21?
And also what is the diode D2 purpose? is it there to avoid sending 3.3V through GPIO21?
Attached is the schematic for your convenience.
Thank you,
Nir.
QTPy RP2040 USBBOOT net
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- nirbec
- Posts: 5
- Joined: Mon Jan 23, 2023 6:58 am
QTPy RP2040 USBBOOT net
- Attachments
-
- adafruit_products_QTRP_sch.png (135.22 KiB) Viewed 442 times
- adafruit_support_mike
- Posts: 67446
- Joined: Thu Feb 11, 2010 2:51 pm
Re: QTPy RP2040 USBBOOT net
The RP2040 bootloader uses USBBOOT as a pin selector. It the signal is low, the bootloader drops into USB Mass Storage mode so you can drop new firmware onto it. If the signal is high, the RP2040 boots the code you've uploaded.
The diode allows USBBOOT to pull the QSPI CS pin low (which is necessary to upload new firmware), but not to pull it high (which would disable the external Flash).
Please be positive and constructive with your questions and comments.