-
Notifications
You must be signed in to change notification settings - Fork 7.6k
Data on Serial2, even though not initialized #1550
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I tried updating my arduino-esp32 yesterday and also had significant problems with the hardwareserial 2 not working under conditions like the USB being connected but would immediately start working when unplugged and running off battery power on the adafruit feather. Had to roll back to a much older version for my projects to work as expected again. |
I did another little test today. Connected two LEDs to RX2/TX2 (i.e. GPIO16/17) and 3.3V with the sketch below. On the most recent version RX2 seems to stay With an older version of arduino-esp32 everything works as I expected it to work. void setup() {
pinMode(16, OUTPUT);
pinMode(17, OUTPUT);
}
void loop() {
digitalWrite(16, HIGH);
digitalWrite(17, LOW);
delay(500);
digitalWrite(16, LOW);
digitalWrite(17, HIGH);
delay(500);
} |
hmm... I will look into this and see what IDF guys think of it |
Thank you! @me-no-dev: Is there anything I can do to support? |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
This stale issue has been automatically closed. Thank you for your contributions. |
Hardware:
Board: DoIT ESP32
Core Installation/update date: 27/jun/2018 (a59eafb)
IDE name: Arduino IDE
Flash Frequency: 80Mhz
Upload Speed: 115200
Description:
For our application, we have used RX2 and TX2 on the DoIT ESP32 board (GPIO 16&17) for other purposes. This worked until recently, but not it seems, there is serial data being sent on those pins, even though I haven't initialized anything (i.e. I use an empty sketch).
I understand that there is the boot information on the first serial port, with which I am fine. But is there any way to prevent action on the other serial ports?
Sketch:
The text was updated successfully, but these errors were encountered: