Download free music MP3s on genuine quality, the world’s largest online music catalogue, powered by your scrobbles. Free listening, videos, photos, The world’s largest online music catalogue, powered by your scrobbles. Free listening, videos, photos, stats, charts, biographies and concerts. stats, charts, biographies and concerts.
Saturday, May 3, 2025
picoDexed + MiniDexed EuroRack
Since attempting my picoDexed + StackyPi + MiniDexed EuroRack build and failing, I've found another Pico-to-Zero board that is provided as open source, so I've had some made. This post details how to get that running with my MiniDexed Zero Eurorack …
Since attempting my picoDexed + StackyPi + MiniDexed EuroRack build and failing, I've found another Pico-to-Zero board that is provided as open source, so I've had some made.
This post details how to get that running with my MiniDexed Zero Eurorack module.
Warning! I strongly recommend using old or second hand equipment for your experiments. I am not responsible for any damage to expensive instruments!
If you are new to microcontrollers and single board computers, see the Getting Started pages.
Pi Zero RP2040s
As mentioned last time I found a number of options for a RP2040 based dev board in a Raspberry Pi Zero form factor. But this post is about this one:
It is fairly simple to build. It just requires a Pico and GPIO header pins.
There is an option for pull-ups on the I2C bus, but I've not bothered with them here. There is also a breakout header for a reset switch if required (it will support two sizes of switch by the looks of things).
Mapping over to MiniDexed/RPi Zero
The pinout is slightly different to the Stacky-pi, so here is an updated table of the GPIO mappings and which are required to be used with my MiniDexed board.
RP2040
Use
RPi
Rpi
Use
RP2040
3V3
5V
GP2
LCD SDA
GP2 SDA
5V
GP3
LCD SCL
GP3 SCL
GND
GP4
GP4
GP14 TXD
GP0
GND
GP15 RXD
MIDI IN
GP1
GP5
GP17
GP18
I2S BCLK
GP18
GP6
GP27
GND
GP7
GP22
GP23
GP8
3V3
GP24
GP28
GP11
RE B
GP10 MOSI
GND
GP12
RE A
GP9 MISO
GP25
GP27
GP10
RE SW
GP11 SCLK
GP8
GP9
GND
GP7
GP26
ID_SD
ID_SC
GP22
SW BACK
GP5
GND
GP13
SW HOME
GP6
GP12
GP21
GP14
GP13
GND
GP19
I2S LCLK
GP19
GP16
GP20
GP15
GP26
GP20
GP17
GND
GP21
I2S DATA
GP16
The two key problem areas will be the I2S interface and encoder, which both require consecutive GPIO pins for the PIO code to do its magic.
The encoder should be fine - pins RE A and RE B map onto the Pico's GP11 and 12.
The I2S interface might be ok - with a BCLK on GP18, it will be expecting LCLK on GP19. Data on GP21 should be ok.
Unlike the previous attempt, I'm hopeful I can just get this running ok with the correct pin mappings...
Changing I2C Bus and UARTs
Unlike the first attempt, I2C is mapped onto GP2 and GP3 which is what I was using in the original picoDexed. So that is all fine, multiplexed onto the I2C bus 1.
There is an issue with the UART however as picoDexed uses the following by default:
UART 0 - GP 0,1 - Serial debug
UART 1 - GP 4,5 - MIDI
I can swap these over so that UART0 (GP0,1) is MIDI, but that has to be matched with a change in the debug serial port too. But unfortunately, as far as I can see, that has to be configured in the master CMakeLists.txt file (as I talked about in Part 3).
New picoDexed GPIO Configuration
Given the above, the following new GPIO pins should be defined in config.h:
I've added a separate configuration file (config-ER.h) in the repository to allow this version to be built, but the CMakelists.txt change above has not been included.
I've also added a picodexed-v0.03-ER.uf2 file in the build area which can be downloaded and installed directly onto the Pico to provide the above configuration ready to go.
Bringing it all together...
The nice thing about this PCB is that I can map everything nicely over to the pinouts used with my MiniDexed EuroRack PCB meaning that once the Pico has the custom firmware installed, it will just plug in and work and no hardware changes or patching is required at all!
I was slightly concerned that the USB port of the Pico might clash with the two installed electrolytic capacitors on the MiniDexed PCB, but in my case I can just about get away with it!
Here is the final assembled unit.
Closing Thoughts
I finally have my Eurorack picoDexed which is pretty neat. Big thanks to bablokb for putting that PCB up online. That saved me a job. And it was particularly nice that things like assuming consecutive pins for the I2S mapping was included as that made using the PIO I2S code a lot easier.
I'd like to see what the power usage is like now as I'm really after a lower power Dexed engine compared to the full Zero version.
Naturally at some point I might still make my own picoDexed Eurorack PCB, but this is a pretty good solution as far as I'm concerned, so that wouldn't really add much for me now.
No comments:
Post a Comment