vimwiki/tech/RP2040.wiki

29 lines
843 B
Plaintext

= Raspberry Pi Pico =
Raspberry pi's micrcontroler, based on the RP2040
See datasheet https://datasheets.raspberrypi.org/pico/pico-datasheet.pdf
== Pins ==
* VBUS is the 5V from the USB
* VSYS is the input voltage, from 2V to 5V. There is an on board voltage
regulator to bring it down to 3.3V
* 3V3 is 3.3 volt output with a max draw of 300ma
* 3V3_EN is an input that allows you to shut off the internal voltage regulator
* RUN is the reset line
* Pins GP28 - GP 26 have ADC's attached, with a 12 bit resolution
== Interrupts ==
Hardware interrupts uses standard ARM nested vectored interrupt controller.
Interrupts have ID 0-31. The RP2040 only uses 0-26, the rest are tied to
ground. Both cores are tied to the same interrupt lines.
*Do not enable the same interrupt on both cores*, as this leads to race
conditions.
[[index]]