Electronics > Projects, Designs, and Technical Stuff
Where to buy Musical Keyboards
Jan Audio:
Whats the difference between source code for a PIC MCU and a OS ?
Put in some effort, it is fun to make, what are you scared of ?
Get rid of that arduno copy and paste mentallity please.
MarkMLl:
--- Quote from: Jan Audio on July 15, 2020, 01:44:39 pm ---Whats the difference between source code for a PIC MCU and a OS ?
Put in some effort, it is fun to make, what are you scared of ?
--- End quote ---
Quite simply, the level of complexity to support a USB host is overkill in the current case. It appeared to be overkill right from the start, and when OP pointed out that he was hoping to have a small-run product that impression became a certainty.
--- Quote ---Get rid of that Arduino copy and paste mentality please.
--- End quote ---
Now that is gratuitously obnoxious. Or to descend to your level, damn rude.
p.s. I've taken the liberty of correcting your spelling.
MarkMLl
MarkMLl:
--- Quote from: NiHaoMike on July 13, 2020, 10:48:09 pm ---
--- Quote from: MarkMLl on July 11, 2020, 01:43:48 pm ---The issue I highlighted was the fact that if you want to build a USB master you're pretty much constrained to having a full-blown OS etc. in there.
--- End quote ---
Not really, you can implement USB on a microcontroller with bare metal code. A RTOS is useful to handle other tasks like scanning the keyboard matrix.
--- End quote ---
OK, I've now got a small box here that does implement a USB host, but a review http://sandsoftwaresound.net/review-midiplus-miniengine-usb/ does comment that it's an unusual capability.
I've been keeping my eyes open for something like this for a while, since MIDI is useful on servers for monitoring purposes. It's getting increasingly unusual on expansion cards (and those cards that are available tend to have dodgy software support) and software emulators tend to have access rights issues etc. which I'm sure will be fixed RSN.
Input options are either MIDI (via an adapter) or USB host, it can't be plugged directly into a PC despite having a micro-USB socket which turns out to be power only. It works out of the box with a USB->MIDI adapter, and also connected directly to the USB port on a keyboard (i.e. box acts as host, keyboard as slave).
Internally, it's got a "Dream" SAM2635, an STM32F105, and an MXIC MX29LV640-EBTI (if my scrawled notes can be believed). I've not attempted more detailed reverse engineering, since I've bought this with a fairly urgent need rather than as a toy.
MarkMLl
Navigation
[0] Message Index
[*] Previous page
Go to full version