Reading the datasheet for the 16F628A, it mentions "the transmitter and receiver are functionally independent". Does this mean I can use RB1 (receiver pin) on the processor and use RB2 (transmit pin) for another application such as an input?
Thanks
Printable View
Reading the datasheet for the 16F628A, it mentions "the transmitter and receiver are functionally independent". Does this mean I can use RB1 (receiver pin) on the processor and use RB2 (transmit pin) for another application such as an input?
Thanks
You are correct, each pin can be independently setup as input or outputs, optionally using either one as a usart.
I would test this to be sure. I'm pretty sure that once you set SPEN (RCSTA.7) these pins are dedicated to the hardware USART, and you lose control of them for digital I/O.
Thanks for the reply from all of ya'll.
P.S. Joe, the change is not very popular around here!