Skip to content

Latest commit

 

History

7 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PIO square wave generator standalone

Arduino Script for the Pi Pico for generating a high frequency square wave with the PIO. It is based around the RP2040 library from earlephilhower.

Based on the Source Code from: https://www.digikey.de/en/maker/projects/raspberry-pi-pico-and-rp2040-cc-part-3-how-to-use-pio/123ff7700bc547c79a504858c1bd8110 (modified it slightly for the Arduino IDE and faster Frequencys)

Warning!!!

Higher Frequency suffer from instability of the output signal, due to the mismatch between requested and clock frequency. The maximum diviation is exaktly one clock tick. Higher Frequency of the core may help with stability. BE aware that, the Flash can only be used on core frequency lower than 133 MHz

About

Arduino Script for the Pi Pico for generating a high frequency (max 1/2 of the clock freq) square wave with the PIO

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages