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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
10/06/06 07:03
Modified:
  10/06/06 07:20

Read: times


 
#125879 - A little confused
Responding to: ???'s previous message
So, since the sender for an async serial interface like UART doesn't send any sort of clock/strobe to the receiver, I assume I will either have to generate a clock based on the MCU's system clock via timer interrupts out of GPIO pins, or use a separate external 3.58Mz oscillator?

If a separate clock is used, wouldn't there potentially be a small margin of error if the clocks/baudrate of the UART and the smart card aren't exactly synced? Also, what then happens to ISO7816's capabilities of changing the baudrate? Can I just fix it to 9600baud if I don't need any more speed than that?

I've actually downloaded the PDF article, it appears to be a free download. I've read it, and the author does indeed use an external oscillator and wired the TX/RX together with a 10k pullup. He also didn't implement any error detection, including parity check, which probably makes things a lot easier.

List of 17 messages in thread
TopicAuthorDate
Emulating ISO7816 smart card interface with generi            01/01/70 00:00      
   See here            01/01/70 00:00      
      Interesting read            01/01/70 00:00      
         Can;t find the article            01/01/70 00:00      
            Here it is            01/01/70 00:00      
   ISO7816 transmission speed            01/01/70 00:00      
       ISO7816 transmission speed            01/01/70 00:00      
         Lets not get confused!            01/01/70 00:00      
            A little confused            01/01/70 00:00      
            2 stop bits?            01/01/70 00:00      
               Read up on async communications            01/01/70 00:00      
                  Parity detection            01/01/70 00:00      
                     use UART mode 3 - that's 9 bits!            01/01/70 00:00      
   Same question on AVRfreaks?            01/01/70 00:00      
   GSM Only?            01/01/70 00:00      
      not exactly GSM only....            01/01/70 00:00      
         All types            01/01/70 00:00      

Back to Subject List