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.
Jump to solution
2 Replies
Solution
wafa_ath
wafa_ath5mo ago
I recommend using SPI. It's faster than I2C and simpler to implement than a dedicated serial connection.
Joseph Ogbonna
Joseph Ogbonna5mo ago
ya, you should use an SPI protocol, cause it can handle two way communication simutanously in the two MCU. But when doing this enable 4-Wire mode in the SPI ports.
Want results from more Discord servers?
Add your server