Phatline Posted July 6, 2014 Report Share Posted July 6, 2014 (edited) CORE LPC17 app: modified tutorial 004 I need both Midi Inports on the Core PCB (Midi IN1, Midi IN2) in 1 Application Midi IN1 = UART0 or 32 Midi IN2 = UART3? > I dont get something in there when I run this code: void APP_MIDI_NotifyPackage(mios32_midi_port_t port, mios32_midi_package_t midi_package) { MIOS32_LCD_Clear(); MIOS32_LCD_PrintFormattedString("%u", port); The display connected to the LPC17-Core now show "32" -when I send Data to Midi-IN1, but it dont change when I send Data to Midi-IN2 in the config mios32_config.h I addet this Lines: #ifndef _MIOS32_CONFIG_H #define _MIOS32_CONFIG_H #define MIOS32_USE_MIDI #define MIOS32_USE_UART #define MIOS32_USE_UART_MIDI #define MIOS32_MIDI_DEFAULT_PORT UART1 #define MIOS32_MIDI_DEBUG_PORT USB0 #define MIOS32_UART_NUM 4 #define MIOS32_UART0_ASSIGNMENT 1 //1=Midi, 0= Disabled, 2= COM #define MIOS32_UART1_ASSIGNMENT 1 #define MIOS32_UART2_ASSIGNMENT 1 #define MIOS32_UART3_ASSIGNMENT 1 but that changed nothing I need both UART In-Ports for my TRIGGER-Matrix-Project where is my fault, what do i miss? Edited July 6, 2014 by Phatline Quote Link to comment Share on other sites More sharing options...
TK. Posted July 6, 2014 Report Share Posted July 6, 2014 Compile & upload this application: http://svnmios.midibox.org/listing.php?repname=svn.mios32&path=%2Ftrunk%2Fapps%2Fmisc%2Fusb_midi_4x4%2F Third MIDI port working? -> compare the mios32_config.h file of this application with your one. Third MIDI port not working? -> hardware connections wrong Best Regards, Thorsten. Quote Link to comment Share on other sites More sharing options...
Phatline Posted July 6, 2014 Author Report Share Posted July 6, 2014 1st port working 3rd port not working checking hardware... Quote Link to comment Share on other sites More sharing options...
Phatline Posted July 6, 2014 Author Report Share Posted July 6, 2014 (edited) os ubuntu 14 mius studio 2.4.6 I changed the optocopler - DEAD! I now got midi from: usb midi 4x4 (2) so what I have learnd from this trlial and error session? UART0(32) = Midi IN, (or "&MidiOut1?) UART1(33) =Midi In2, (or "&MidiOut2?) UART2= ??? or Out1? UART3=??? or Out2? The LCD now Print 32 for Midi1 and 33 for Midi2 so this is solved thx Edited July 6, 2014 by Phatline 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.