I am looking for the MIDI UART component one can find for PSoc 3 and PSoc 5 but can't find it for PSoc 4 though the UART is definetly here ...
Welcome in the forum!
No, the PSoC4 does not offer a USB component (yet). There are devices announced that may have got one, but not now.
My intention was to use the UART part of the component not the USB MIDI ...
Isn't it possible to have any UART used for MIDI on PSOC 4 ?
Yes, a general purpose UART is available in PSOC 4. Depending
on part several are available depending on use of SCB and UDBs.
Yes but a standard general purpose UART would just miss the MIDI protocol stack ...
Can you find on the web a code base to give you the stack ?
Just a thought.
Technically, any UART that can be set to the official MIDI baud rate of 31250 can interface to MIDI.
The "Universal Asynchronous Receiver Transmitter (UART)" v2.30 component should be capable of connecting to this MIDI interface http://www.midi.org/techspecs/electrispec.php but the component doesn't provide a choice for 31250 baud rate, nor is there a field to allow the user to provide a different baud rate.
Maybe one of the experts can clarify how to chose another default baud rate. Obviously a person can write a value to the divisor register, but I'm amazed the component doesn't allow a person to enter a different baud rate.
When using the UDB version of the UART you are totally free to use your own clock adjusting the baud-rate to your needs. Requires a CY8C42xx chip.
Yes, you would have to use API and/or external clock to generate a
non RS232 standard baud rate.
I forgot to post earlier, but I'm using PSoC Creator 3.0 SP2.
I looked at all of the following graphical components blocks (not API) and couldn't find a way to set 31250 baud or any baud rate that isn't in a pull-down list.
"UART (SCB mode) v1.20"
"Software Transmit UART v1.20"