I want to create a small midi controller (just for hobby use and no commercial use).
And I want to use the Atmel/Microchip ATSAM4S MCU.
Currently I have these two MCUs:
- ATSAM4S8BA-AU ([url removed, login to view])
- ATSAM4S-XPRO ([url removed, login to view])
The Goal of this project is not to create the complete midi controller and firmware.
You only have to create a small example for Atmel Studio with the AFS libs.
This example project have to show how to create two USB interfaces/endpoints the same time:
1. USB-MIDI (I think it based on the USB audio device)
3. and just simple receive and send of data for each interface.
>> so if you plug in the controller, it have to show up as USB-MIDI device and also as Serial-Device.
On top of your example code I will build my midi library and protocol.
The second endpoint (USB-Serial) will be used later for configuration of the midi controller.
If you need more information; there is an existing solution out there for the Teensy MCU (Serial + Midi over USB):
[url removed, login to view]
Hope someone can help me on this, because I'm stuck on this point.
No idea of how to create two devices the same time.
Thx and best regards,
here some information about the USB-MIDI class: