Skip to content

San7o/hello-pico2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hello-pico2

pico-img

Collection of examples on the Raspberry Pi Pico2.

Info

  • 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

Usage

To build the program, use:

cmake -Bbuild && cmake --build build

In 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 lsblk and note which device is being used
  • run load.sh (with sudo priviledges if necessary)

Reset button hack

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:

  1. press and hold your new reset button
  2. press and hold the white BOOTSEL button on the Pico2
  3. release the reset button
  4. release the BOOTSEL button

Resources

About

Collection of examples on the Raspberry Pi Pico2.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors