Mbed TLS is now part of TrustedFirmware.org.

mbed midi controller feasibility


Mar 8, 2017 02:12
lulala

I'm looking to start on my first microcontroller project a midi controller that (hopefully) will connect to an android device via ADK as part of a touch interface. I've never worked with this lower level hardware type stuff, so before I start investing cash and time I want to make sure I've got a board that's capable enough for the project.

I'm eyeing the mbed LPC1768 ([url]http://www.kynix.com/Detail/816588/LPC1768FBD.html[/url])because it has usb host functionality and what look to be fairly flexible libraries for usb and usb-midi. My rough plan is to do 12 -16 pots/faders, 6 on the analog io and the rest on a multichannel adc, and about as many buttons on the digital side. The mbed will have to run to some sort of usb hub that can "route" the signal to the correct endpoint: android ADK -> mbed to change midi function (lower timing priority), mbed -> host pc to transmit the data (higher timing priority).

Will the LPC1768 (100 MHz ARM Cortex-M3, 64 KB SRAM, 512 KB Flash) accommodate the above functions at a perceptibly instantaneous time scale? (ie midi latency ideally < 1ms)? If so, how do I go about it? What interface(s) to use (mbed offers i2c and SSP), how to handle data sampling of the inputs, how to solve the data routing problem, etc.

 
Mar 8, 2017 11:58
Ron Eldor

Hi lulala,
I believe your question should be posted in the mbed forum, rather than the mbed TLS forum. Please look at the following list of mbed platforms for you to choose according to your requirements.
Regards,
mbed TLS Team member
Ron