RP2040-code/Function Generator
Tony bd55c22466 Merge branch 'master' of https://github.com/oddwires/RPI---pico 2023-07-08 13:35:04 +01:00
..
Images Improved DAC mechanism 2023-04-29 16:08:21 +01:00
CMakeLists.txt Improved DAC mechanism 2023-04-29 16:08:21 +01:00
DAC.pio Improved DAC mechanism 2023-04-29 16:08:21 +01:00
FunctionGenerator.cpp Various updates 2023-07-08 13:34:54 +01:00
README.md Update README.md 2023-06-18 15:10:42 +01:00
blink.pio Second DMA channel 2023-03-27 16:58:28 +01:00

README.md

Function Generator on a RP2040.

  • TBD:

    • Port the clock code from here
  • Features:

    • Direct Digital Synthesis (DDS) Function Generator
    • Dual 8 bit R-2-R Digital to Analog converter
    • Variable output level (requires MCP41020 dual digital potentiometer with SPI interface)
    • Target device = Pico (also works on Pimoroni PGA2040)
    • External, 3 digit, SPI display
    • Independant control of either channel through Putty terminal session
    • Putty terminal session over USB port
  • Limitations:

    • USB serial requires Windows (10 or later)
    • Square wave rise time is slow ( distortion visable at ~10KHz )
    • Phase sync mechanism not effective at high frequencies

Two independanty controled, phase locked, DMA channels...

Hardware

Early version of hardware running single channel 150Hz Sine wave + 3rd harmonic on a vintage oscilloscope...

Hardware