Can i use rs232 both rx and tx at the same pin like Pin b7.
because of smartcard (silver card pic16f877+24lc64) have 1 pin in rb7 for i/o and i will connect it with pic16f877 and communicate between them by rs232.
Can i use it and pic 16f877 will have 2 rs232 in the same MCU.
Plese let me know example.
carlosma
Joined: 24 Mar 2004 Posts: 53 Location: Portugal
Posted: Thu Jul 15, 2004 1:49 am
There are two example programs (EX_PBUSM.C and EX_PBUSR.C).
Use RB0 to interface.
Search by "one-wire" on help CCS C Compiler
Carlos
SherpaDoug
Joined: 07 Sep 2003 Posts: 1640 Location: Cape Cod Mass USA
Posted: Thu Jul 15, 2004 7:04 am
Yes you can use the same pin for RX and TX of a software UART. How you convert the serial to RS232 is another problem. This has little to do with "one-wire" comms. _________________ The search for better is endless. Instead simply find very good and get the job done.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum