Communication Options for Dual-Processor MIDI Control Pedalboard with ESP32

Hello,

I am currently building a MIDI control pedalboard. It will need to connect simultaneously via classic MIDI (Serial ports) and BLE-MIDI to controllers and synthesizers and via WiFi to a computer.

I have read that the ESP32 cannot handle WiFi and BLE simultaneously, and my initial tests seem to confirm this. So, I am considering using two processors, one for WiFi and the other for Bluetooth.

I am wondering how to make them communicate with each other: a classic serial connection on a dedicated port or exchanges via I2C or SPI?
Thanks 🙏🏻
Solution
I recommend using SPI. It's faster than I2C and simpler to implement than a dedicated serial connection.
Was this page helpful?