T3.1 Hardware Serial Redundant Transmit Pin Alternate Usage

Status
Not open for further replies.

Cosford

Well-known member
Hi,

I'm a touch short of pins for a project using the T3.1 (even including using the pins on the back). Lots going on here, none of which is particularly demanding but still requiring a quantity of I/O. I am using Hardware Serial ports 2 and 3 to receive inverted serial data coming in from infra-red receivers/demodulators (TSOP3**** series). As such, I only need to receive on RX2 and RX3. Is it possible to use the TX2 and TX3 pins for other purposes whilst simultaneously using the RX2 and RX3 pins to receive without issue?

Thanks in advance,
Iestyn.
 
Last edited:
Yes. After Serial2.begin() or Serial3.begin(), so pinMode() to put those pins back into normal GPIO mode.

The TX pins will be driven high as output mode between begin() and pinMode(), so your hardware will need to be able to deal with that.
 
Status
Not open for further replies.
Back
Top