I'm playing with an ATMega128 microcontroller and am somewhat confused how one would connect this controller to a component that requires a clock signal? For example, at the moment I'm trying to build a smart card reader. The transmit/receive data pins from the smartcard interface I can simply connect to the i/o ports of the microcontroller board. The smartcard requires a clock signal and I was originally hoping to simulate one using a pulsing i/o signal from the ATmega, however someone else advised me they had tried and not found success. Instead, using a crystal was recommended. My electronics knowledge is a little thin -- I can visualize how one would connect a clock to the smartcard reader interface if it was standalone, but it seems like the clock would also need to communicate with the microcontroller somehow? The microcontroller is running off it's own crystal at the moment. Any help/advice is appreciated. Thanks :)
2007-03-01
03:39:37
·
4 answers
·
asked by
mdigitale
7
in
Science & Mathematics
➔ Engineering