rp2040_ndsp
rp2040_ndsp.py is a stripped-down, simple NDSP server which runs on an RP2040 embedded processor
0
Project description
The RP2040 is like a miniature Raspberry PI, and it is used to run Adafruit's CircuitPython, with the Wiznet5k Ethernet library. This setup offers 29 multifunction GPIO pins (including four ADC channels) for control by an NDSP:
This NDSP server can be called from ARTIQ; see rp2040_experiment.py for example. A convenient way to test this is using the dartiq dockerized ARTIQ package. Install that package, enter this into device_db.py:
device_db = {
# rp2040 nano NDSP
"rp2040": {
"type": "controller",
"host": "192.168.1.221",
"port": 3476,
},
}
then run:
dartiq run "artiq_run ./rp2040_experiment.py"
and you should see:
ping = Example NDSP is alive!
add result = 18