Clock for smart card


Closed Thread
Results 1 to 2 of 2
  1. #1
    Join Date
    Jul 2009
    Posts
    13

    Default Clock for smart card

    I am trying to take advantage of picbasic Pro, and a smallpic to create an I2C to Smart Card interface. The point is keep it as simple aspossible and with the least amount of components as possible. If I use a 4MHzceramic resonator, I want to clock the card from the same resonator / clock asthe pic, but I need to be able to set the clock to low on the card until I needit. I was thinking a diode, resistor, clkout and RB0 or something like that. Any ideas?

  2. #2
    Join Date
    Sep 2005
    Location
    Campbell, CA
    Posts
    1,107


    Did you find this post helpful? Yes | No

    Default Re: Clock for smart card

    I don't know how you are generating the clock (OSC2 perhaps?), but you can probably just put a 2.2K resistor (or so) from that pin to RB0 and then connect RB0 to the smart card.

    The program code
    TRISB.0 = 1 will allow the line to toggle
    and the lines
    PORTB.0 = 0
    TRISB.0 = 0
    will force it low.

    All this assumes that your smart card can tolerate the 2.2K resistor in the clock line.
    Charles Linquist

Members who have read this thread : 1

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts