I am fairly new to embedded development and am trying to learn some things on my own but I seem to be stuck.
I have a FEZ Spider and am trying to communicate with a smartcard. I have a smartcard breakout board wired up to a gadgeteer breakout module. As far as I understand, I can use TWI or Serial to communicate with the smartcard. I would like to use serial, as I feel it will better fit my application.
My first issue is I’m not 100% sure how to wire the smartcard breakout to the breakout module. Serial uses one pin for Tx and one for Rx, but the smart card has one bidirectional I/O pin. I’ve read that I am supposed to short the two pins together but I couldn’t get that to work either.
My second issue is in the code, what do I need to do for the smartcard’s reset pin.
If I could get some assistance on this that would be great!