Ok… More Testing (@bpcmusic and @infovore would you take a look at this?)
(same behavior with 1.32 or the simplify_midi_interrupts branch)
in Follower mode
– devices powered off
– power on follower (16n) first, then power on leader = ok
– disconnecting power on leader kills usbmidi on 16n
– at this point i2c still ACKs on 16n, but usbmidi is down.
When I unplug the other device (Just another teensy in this case) I see this dump from midi monitor:
|19:35:00.136|From 16n|Control|1|34|123|
|---|---|---|---|---|---|
|19:35:00.139|From 16n|Control|1|41|123|
|19:35:00.146|From 16n|Control|1|32|123|
|19:35:00.149|From 16n|Control|1|40|123|
|19:35:00.149|From 16n|Control|1|43|123|
|19:35:00.150|From 16n|Control|1|44|123|
|19:35:00.151|From 16n|Control|1|38|123|
|19:35:00.154|From 16n|Control|1|36|123|
|19:35:00.156|From 16n|Control|1|42|123|
|19:35:00.158|From 16n|Control|1|33|123|
|19:35:00.162|From 16n|Control|1|37|123|
|19:35:00.165|From 16n|Control|1|47|123|
|19:35:00.167|From 16n|Control|1|46|123|
|19:35:00.182|From 16n|Control|1|35|123|
|19:35:00.187|From 16n|Control|1|39|123|
EDIT - added 2.2K resistors on 16n DNP pads and still seeing usbmidi crash.
EDIT #2: I put the 16n into USB Type SERIAL+MIDI (to check DEBUG) and with it set this way, it’s not crashing usbmidi (with or without DEBUG enabled).