Jump to content

Recommended Posts

Posted (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 by Phatline
Posted (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 by Phatline

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...