Skip to content

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

Closed
thomasklingbeil opened this issue Jun 28, 2018 · 6 comments
Closed

Data on Serial2, even though not initialized #1550

thomasklingbeil opened this issue Jun 28, 2018 · 6 comments
Labels
Status: Stale Issue is stale stage (outdated/stuck)

Comments

@thomasklingbeil
Copy link

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:

void setup() {
}

void loop() {
}
@jwd83
Copy link

jwd83 commented Jun 28, 2018

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.

@thomasklingbeil
Copy link
Author

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 HIGH and TX2 LOW (only during boot both seem to be high(ish)).

img_1819

With an older version of arduino-esp32 everything works as I expected it to work.

bild von ios

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);
  }

@me-no-dev
Copy link
Member

hmm... I will look into this and see what IDF guys think of it

@thomasklingbeil
Copy link
Author

Thank you! @me-no-dev: Is there anything I can do to support?

@stale
Copy link

stale bot commented Aug 1, 2019

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.

@stale stale bot added the Status: Stale Issue is stale stage (outdated/stuck) label Aug 1, 2019
@stale
Copy link

stale bot commented Aug 15, 2019

This stale issue has been automatically closed. Thank you for your contributions.

@stale stale bot closed this as completed Aug 15, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Stale Issue is stale stage (outdated/stuck)
Projects
None yet
Development

No branches or pull requests

3 participants