wackazong Posted February 23, 2008 Report Share Posted February 23, 2008 Hello again,one more thing came to my mind today: For my project (a module for 128 buttons and a RGB LED for each button, no velocity) I would like to send the MIDI Data via a MIDIBox-to-COM interface to my computer (possibly over USB, but that only needs a converter using a FT232). I would like to access the serial port via my own software on my Mac.I will chain some Cores together in my Project. Now it came to my mind, that in that situation, I have two MIDI ports at two cores, which I need to combine: The MIDI port at the first core, and the one at the last core. Is it possible to combine that to a single COM-port? I see the following solutions: - a MIDImerger (probably quite slow) - a MBHP-USB interface (has somebody tried that on OS X? Does it need special drivers on the Mac side?) - aren't there chips which can combine two different serial ports? The thing is that one will only be used for sending data, the other will only be used for receiving dataAnother solution could be to use MBnet and to use one Core as the main interface to the Mac. I like that solution, because I think it would be fast and is also very extendable. Unfortunately I did not find much on the MBnet on the ucapps pages, there is no examples. Does it work? I did not find any functions in MIOS relating to it.I attached a picture to explain what I wrote. Thanks, ALEXander. Quote Link to comment Share on other sites More sharing options...
wackazong Posted February 23, 2008 Author Report Share Posted February 23, 2008 Allow me to reply to myself:Seems like the MBHP USB is a good idea, since I can connect two cores directly. But here I cannot simulate a serial interface, or can I? How does it work on the Mac side: Do I have to load a driver? Has anybody used this module under MAC OS X?Also: The microcontroller from Cypress seems to be obsolete, and I could not find the development software anymore. There is a new chip (EZ-USB FX1), but there does not seem to be free software for it. Does anybody know of a USB controller chip with two USART's which could be used for the described task?ALEXander. Quote Link to comment Share on other sites More sharing options...
wackazong Posted February 23, 2008 Author Report Share Posted February 23, 2008 One again:The AN2131SC does not seem to be available anymore, I checked with Reichelt, Mouser, DigiKey and Arrow.So the FT232 seems like a good option to me, because it is well supported with the Virttual Com Port driver. I do not want to develop my own USB driver for OSX, I am not that used to programming for Mac.But, the question still remains: How do I combine the two interfaces into one? One MIDI in from one core, and one MIDI out from another core. Or would it be better to dedicate one core to the MIDI in/out communication and to talk to the other cores via MBnet? But where can I find examples for MBnet?Any help is greatly appreciated.Thanks!ALEXander. Quote Link to comment Share on other sites More sharing options...
cimo Posted February 23, 2008 Report Share Posted February 23, 2008 hienable midimerger within the app., all chained cores will have just 1 input and 1 output.Is this what you wanted?simone Quote Link to comment Share on other sites More sharing options...
wackazong Posted February 23, 2008 Author Report Share Posted February 23, 2008 Hi Cimo!Thanks for helping a newbie...Yes, now I have it. I think I got a bit confused... sorry.I found the "How to use MIDIBox Link with the COM-port" drawing now. I think I will go with that solution, and maybe in the future try to connect the whole think to a FT232 to go via USB. Thanks!ALEXander. Quote Link to comment Share on other sites More sharing options...
napierzaza Posted February 23, 2008 Report Share Posted February 23, 2008 The USB module is just like those 2 port (2xin 2xout) midi-usb converters. You can just wire them straight to the 2 cores instead of using any opto-isolaters and it works in Mac OS X without a hitch. Quote Link to comment Share on other sites More sharing options...
cimo Posted February 23, 2008 Report Share Posted February 23, 2008 hii may be wrong but i think that the opto isolator is always advised in the master coresimone Quote Link to comment Share on other sites More sharing options...
napierzaza Posted March 5, 2008 Report Share Posted March 5, 2008 Nope, you're mistaken! Look at the pages in the USB page. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.