Page 1 of 1

Wrover chip: Hardware Serial on pin 17 and 18 (sd2, sd3)

Posted: Thu Sep 05, 2019 8:35 am
by gabriele.agrillo95
Hi guys,
I wanted to ask if you know if it's possible to use pin 17 and 18 as hardware serial (which are named as sd2 and sd3 on the wrover datasheet).

I have the lolin d32 pro v2 and, according to the schematics, the tx and rx pins on the header are shared with the usb circuit.

Now my issue is that I need 1 UART to connect a gps module (at high baud rates) but i can't use the serial monitor while the gps is connected or vice versa.

If i directly solder the gps module to those pins, would I be able to have a good connection? Or I'm gonna break something? I saw that those pins are used by the internal SPI flash memory. However I'm not using it but maybe the chip it self do.

Is there an easier way to have a free UART that I'm missing?
Thanks

Re: Wrover chip: Hardware Serial on pin 17 and 18 (sd2, sd3)

Posted: Thu Sep 05, 2019 10:53 am
by WiFive
No you can't use those but serial can be configured on any pin

Re: Wrover chip: Hardware Serial on pin 17 and 18 (sd2, sd3)

Posted: Thu Sep 05, 2019 2:58 pm
by gabriele.agrillo95
Oh,I didn't know i could do that.
After some research i saw that i can use the HardwareSerial class and use it in almost any pin in order to configure UARTs.
Thanks.