Skip to content

DTR Off blocks USB serial receive #9786

Open
@Kabron287

Description

@Kabron287

Board: Arduino Micro(ATMEGA32U4)
Test Sketch:

void setup() {
	Serial.begin(115200);
	Serial1.begin(115200);  
}
void loop() {
	if (Serial.available()) {
		Serial1.write(Serial.read());
	}
	if (Serial1.available()) {
		Serial.write(Serial1.read());
	}
}

To reproduce the issue make LoopBack connection RX-TX open Terminal Emulator(e.g. CoolTerm) and begin to send something. Switch DTR state ON/OFF.
If DTR OFF transmition stops.
It does not correspond with ordinary USB to serial behavior, e.g. FT232 chip, which transmits and receves regardless DTR state.

The same test runs on Teensy 2.0 with no such issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    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