Are there any low cost microcontrollers(8051/AVR/etc) that support both
I2C and ISO7816 interface?
I assume master ISO7816 so: AT91SAM7S32(1)
It only supports I2C master though which could be a drawback!
I2C slave can rpbably quite easioly be emulated using the SSC.
You will find that a UART to ISO7816 is easier to find.
Atmel has several such circuits, and I am sure other companies have as well.
You could put an ATmega48 or similar in between.
--
Best Regards,
Ulf Samuelsson
u...@a-t-m-e-l.com
This message is intended to be my own personal view and it
may or may not be shared by my employer Atmel Nordic AB
Look at STM families (www.st.com), I'm 99% sure you will find one...
Cheers,
Robert
Well I will need I2C slave functionality so yeah that would be a
drawback. What do you mean by SSC?
I also found some application notes for ISO7816 via UART, but it was
for ST. Where can I find such circuits for Atmel/etc?
Thanks!
Well I will need I2C slave functionality so yeah that would be a
The SSC is the Synchronous Serial Controller of the AT91.
You get access to the raw data and clock.
The CPU should have enough performance to do the I2C
slave in S/W when you
> I also found some application notes for ISO7816 via UART, but it was
> for ST. Where can I find such circuits for Atmel/etc?
ISO 7816 is directly supported in the AT91 USART.
There is code for an AVR RS-232 <-> ISO7816 bridge at
http://www.smartcache.net/download.html
It is C code for the AT902313 but I think
it would not be too hard to adopt for the ATmega48
which has the TWI = I2C as well.
>
> Thanks!
You can probably run the complete program in the AVR simulator
so not a lot of need for tools.
The AVR Dragon emulator is selling for around $40...
Quickly saved if you need to build a few.
Low cost JTAG ICE Mk II,
Supports Debugwire(tm), but JTAG parts are limited to max 32 kB.
> Anyway, moving from 1 MCU to another, how do I figure
> out exactly what clock speeds to run at? The code seems to indicate a
> very specific clockspeed so as to match the desired ISO7816 baudrate.
You need to read documentation on ISO7816...
>
> Low cost JTAG ICE Mk II,
> Supports Debugwire(tm), but JTAG parts are limited to max 32 kB.
If I read the spec (half page text file) correctly, AVR dragon is not
ICE. It will emulate and program, but not ICE.
To be exact, it supports OCD using Debugwire and JTAG
(limited to <= 32kB parts)