Skip to content

Dropped bytes at serial inputs for up to 6.6ms after reading bytes via native USB #1784

Closed
@EmbedHA

Description

@EmbedHA

On the Arduino DUE, using IDE 1.5.4, following issue was found.
For a time of up to ca. 6.6ms after a SerialUSB.readBytes statement, the reception of serial bytes is corrupted by randomly dropped bytes - mostly one byte, sometimes two. This was tested tested from 115200baud down to 28800baud for the serial input and for serial1 and serial2.

An extensive description of a setup to check the issue, sample code to demonstrate the problem, test logs etc. can be found in the Arduino forum: http://forum.arduino.cc/index.php?topic=207299.0

Metadata

Metadata

Assignees

Labels

Board: Arduino DueApplies only to the DueComponent: USB DeviceOpposed to USB Host. Related to the USB subsystem (SerialUSB, HID, ...)Type: BugUSB: CDC serialSerial interface used by MCUs with native USB (e.g. Leonardo) to communicate with the computer

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions