This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

MIDI?

Hi,

just ordered the Stellaris Launchpad, before checking if StellarisWare supports MIDI. Looks like it doesn't. Is there any way to create a USB MIDI class device?

I'm all new to this and chose Stellaris Launchpad over other alternatives a little too quick ;)

Thank you

Andrej

  • What kind of "support" were you thinking of?

    Stellaris provides the basic harware platform on which you can build the "support" - but it is not a ready-made solution.

    If you're looking for ready-to-run solutions then I'm afraid the Launchpad - or any similar development kit - is not for you.

  • I'm looking for API support to implement a USB MIDI device. Referring to the "StellarisWare" document:

    http://www.ti.com/lit/ug/spmu020o/spmu020o.pdf

    It documents the "USB Device Class" APIs, of which "USB Audio Device Class" is one of them. But there's no "USB MIDI Device Class" API.

    Stumbled on the following: http://mbed.org/users/simon/code/USBMIDI/. So looks like I need to somehow port this to support StellarisWare's

    USB Device API?

    Thank you

    Andrej

  • Correct:  there is no "ready-rolled" MIDI Class - so you'll have to roll your own.

    Andrej Gabara said:
    Stumbled on the following: http://mbed.org/users/simon/code/USBMIDI/. So looks like I need to somehow port this

    Or just buy an mbed?

    Porting a USB stack isn't going to be trivial...

  • Thanks Andy.

    I figured this is the platform for me to get started, after viewing the "Getting Started" videos on youtube, the specs, a free Eclipse IDE, and availability of books on Amazon (specifically the books "Introduction to ARM Cortex-M Microcontrollers" and "Real-Time Interfacing to ARM Cortex-M Microcontrollers") with exercises/solutions for the Stellaris LM4F.

    Wasn't thinking of porting a USB stack, just the MIDI Class driver... the StellarisWare USB Audio Class driver (usbaudio.c) is about 20 pages of code. Assuming that a MIDI Class driver should be simpler, I dared to imagine of porting a MIDI class driver from another USB stack. But it's probably over my head anyhow. 

    Any reason why TI did not implement a full USB stack? Or why the USB Audio Class driver only support USB 1.1 for 12Mbps max speed? Do people actually use the StellarisWare USB stack or do they go with a commercial one?

    Thanks again

    Andrej

  • Did you get anywhere with this, Andrej, and if so, would you mind sharing your code? My launchpad sat in a box for far too long, but now that I've gotten around to fiddling with it some, I've also looked at TI's USB library and mbed's USB MIDI code, and don't particularly want to have to expand the TI USB Audio support myself.

  • Any success?

    I need to implement MIDI class device for my Tiva based project, so if you have done that already and you are willing to share your code, it would save me some time.

    Rob.

  • I actually have only had about 20 minutes to think about this stuff since I wrote my post originally. And in those 20 minutes, I was not surprised to find that I didn't get it working.