Collection of examples on the Raspberry Pi Pico2.
- Dual Cortex-M33 or Hazard3 processors at 150MHz
- 520 kB on-chip SRAM
- 2 on-chip PLLs for internal or external clock generation
- 2 UARTS
- 2 I2C controllers
- 24 PWM channels
- USB 1.1 controller
- 12 PIO state machines
- 1 HSTX periphera;
- 2 ADC
- SPI
To build the program, use:
cmake -Bbuild && cmake --build buildIn order to load the program, you need to do the following steps.
- plug the Pi to your laptop while holding the button on the Pi, you should see it being detected in dmesg
- the operating system should have registered the Pi as a device in /dev,
check this with
lsblkand note which device is being used - run
load.sh(with sudo priviledges if necessary)
Instead of unplugging and plugging back the USB connection to the Pi, you can reboot the board by connecting the RUN pin to ground. To make this easier you can add a button that closes that circuit and reboots the board. Then the full sequence looks like this:
- press and hold your new reset button
- press and hold the white BOOTSEL button on the Pico2
- release the reset button
- release the BOOTSEL button
- Pi Pico2 Datasheet (for the GPIO voltage)
- Pico SDK
- Pico 2 Examples
- Kit Guide
