Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
05/04/02 21:07
Read: times


 
#22514 - I/O lines in smartcard application
Hi everybody!
I'm building a smartcard application using AT899C55
Because the I/O line with ISO7816 is only one, if I would like to use the integrated UART of my 8052 what I have to do?
I thought to tie the two pins (RXD and TXD) to the I/O contact on smartcard
in my code, when transmitting a byte, I disable receiving, then reanable, that is

clr ren
clr ti
mov sbuf,a
jnb ti,$
setb ren

when receiving I instead only check for receive complete:

jnb ri,$
mov a,sbuf
clr ri

would that work? or I have to do it in a different way?

regards, teo.

List of 7 messages in thread
TopicAuthorDate
I/O lines in smartcard application            01/01/70 00:00      
RE: I/O lines in smartcard application            01/01/70 00:00      
RE: I/O lines in smartcard application            01/01/70 00:00      
RE: I/O lines in smartcard application            01/01/70 00:00      
RE: I/O lines in smartcard application            01/01/70 00:00      
RE: I/O lines in smartcard application            01/01/70 00:00      
RE: I/O lines in smartcard application            01/01/70 00:00      

Back to Subject List