Skip to content

[Bug] Arturia MIDI controllers cause dropped MIDI messages #676

Description

@marchingband

I have tested 2 different Arturia MIDI controllers, the Keystep Pro, and the MiniLab. Circle USB MIDI Host driver drops messages from both.

If I press 2 notes at the same time, about 1 in 4 times, it will miss a message. These could be note on, in which case I dont get the note, or it could be note off, in which case we get a stuck note.

I have Circle git hash c243194
hardware is CM0

However if I comment out line 198 in lib/usb/usbmidihost.cpp the issue goes away.
// pURB->SetCompleteOnNAK ();

This keeps the IN request active through NAKs, so the host controller can catch the next data packet without that resubmit gap.

I also have -DNO_SDHOST -DUSE_USB_FIQ and usbboost=true set.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions