> Looks very good.

> > If I were you, I would use a GPIO to detect card insertion. This event
> can
> > be used to trigger card activation, reset sequence, ATR reading and
> optional
> > PPS exchange. Do you plan to connect your reader to a PC via a serial
> port?
> > TxD and RxD are still free on PD0 and PD1.
> >
>
> Thanks, am, there is another hardware usart bellow it, and yes, my
> intention is to connect the reader to the computer.
>
> However, given your and drasko's clarifying comments, I'm feeling a
> bit like this is not the chip I want to use anymore? I mean, I'm gonna
> study the whole thing at hardware level, and study whether this chip
> will leave me room for getting anywhere I ever wanted to in terms of
> the iso implementation/smartcard development.
>
> If it doesn't, I have some ST7XX samples arround (arm7 chips from
> st-microelectronics), an (iirc) believe one of them has builtin
> smartcard support, including clock frecuency switching at runtime.
>
> My main concern is really to have a processor powerfull enough so as
> let me do it by software. It's more fun to me achieve a software
> implementation that I made, than reading the ds and setting a few
> registers with a given recommended hardware-setup beneath, though
> having that on-chip is an advantage also, I could use it when I wanted
> to.
>
> Totally agree. Looks like your atmel is OK provided you just add a 3.57
crystal clock. You can still make a bitbanged uart if you wish, and use an
irq as a timer.

an ARM SoC looks a bit overkill for this task, a 8 bit micro is enough for
this task. it will be funnier, easier to understand and easier to reproduce.

As a side note, to sample the IO line, ISO7816 requires to read the line at
the middle of the bit. You're not required to average more than one read.
Just have your irq run a twice the bitrate so that you can read the bit in
the middle, and toggle the IO line at the right moment for sending.



> Well, thanks, I'l keep you informed guys!
>
> Hope so! This project is interesting!

Regards
seb
_______________________________________________
Muscle mailing list
[email protected]
http://lists.drizzle.com/mailman/listinfo/muscle

Reply via email to