i have the following setup:
-a teensy 3.6 with a 7 port usb hub
-a teensy 4 (configured as midi + serial) connected to said hub
-several usb-midi devices connected to said hub
i have it almost all working! all synth-midi communication is working great! the teensy 4 should communicate bidirectional via midi, but whenever i try to send midi to the teensy 4, the teensy 3.6 gets really laggy. i already made another forum thread about problems with the teensy 4 and 3.6: https://forum.pjrc.com/threads/64363-force-small-rx-tx-buffer-for-usbmidi-teensy-4 receiving midi from the teensy 4 works just as expected.
since i need this setup for a few rehearsals and small gigs in about a week i want to explore other possibilities instead of the non working midi.
it should be possible to send serial data over usb to the teensy 4, but i am struggling to get it working.
how do i have to setup my hub ports on the teensy 3.6 so that it can find and recognise the teensy 4 which is configured as "serial + midi"?
i have:
but calling:
in setup, does not print anything to the serial monitor of teensy 3.6,
so i guess the teensy4 is not found on the hub. the midi part of the teensy4 is found when i scan all seven midi ports i created.
probably i am doing something simple wrong...thanks for any insights.
-a teensy 3.6 with a 7 port usb hub
-a teensy 4 (configured as midi + serial) connected to said hub
-several usb-midi devices connected to said hub
i have it almost all working! all synth-midi communication is working great! the teensy 4 should communicate bidirectional via midi, but whenever i try to send midi to the teensy 4, the teensy 3.6 gets really laggy. i already made another forum thread about problems with the teensy 4 and 3.6: https://forum.pjrc.com/threads/64363-force-small-rx-tx-buffer-for-usbmidi-teensy-4 receiving midi from the teensy 4 works just as expected.
since i need this setup for a few rehearsals and small gigs in about a week i want to explore other possibilities instead of the non working midi.
it should be possible to send serial data over usb to the teensy 4, but i am struggling to get it working.
how do i have to setup my hub ports on the teensy 3.6 so that it can find and recognise the teensy 4 which is configured as "serial + midi"?
i have:
Code:
#include <USBHost_t36.h>
// Create the ports for USB devices plugged into Teensy's 2nd USB port (via hubs)
USBHost myusb;
USBHub hub1(myusb);
USBHub hub2(myusb);
USBHub hub3(myusb);
USBHub hub4(myusb);
USBSerial userial(myusb);
MIDIDevice_BigBuffer midi01(myusb);
MIDIDevice_BigBuffer midi02(myusb);
MIDIDevice_BigBuffer midi03(myusb);
MIDIDevice_BigBuffer midi04(myusb);
MIDIDevice_BigBuffer midi05(myusb);
MIDIDevice_BigBuffer midi06(myusb);
MIDIDevice_BigBuffer midi07(myusb);
MIDIDevice_BigBuffer * midilist[07] = {
&midi01, &midi02, &midi03, &midi04, &midi05, &midi06, &midi07
};
but calling:
Code:
Serial.println((char*)userial.serialNumber());
so i guess the teensy4 is not found on the hub. the midi part of the teensy4 is found when i scan all seven midi ports i created.
probably i am doing something simple wrong...thanks for any insights.
Last edited: