Changing the Baud Rate for ISO 7816 after ATR

Discussion around product based on ARM Cortex M3 core.

Moderators: nferre, ncollot

Benk
Posts: 2
Joined: Mon Jul 18, 2016 4:39 pm

Changing the Baud Rate for ISO 7816 after ATR

Mon Jul 18, 2016 4:54 pm

Hi All,
I'm using SAM3SD8 and simulating an ISO 7816 Slave.
I use Fi/Di of 372 for the ATR (TA1 = 0x11) and the system works properly.

Now i'm trying to increase the Baud Rate after the ATR is sent at the default BR of 9600 bps. as I understood from the Standard, if I set
a different value at TA1, (and also modified TA2 to 0x10 & TC1 to 0x2), and now I expect the Smart card Reader will change the Usart's BR.

Am I missing anything? is there any example of setting non-default value for the ATR here in the forum.

Any help would be appreciated.

BR,
Ben K.
Benk
Posts: 2
Joined: Mon Jul 18, 2016 4:39 pm

Re: Changing the Baud Rate for ISO 7816 after ATR

Tue Jul 19, 2016 4:24 pm

OK,
After setting an ATR of a working SIM card ("3B9D96801FC48031E073FE21005553696D676FA7") I was able to trigger the ME to start the PPS (responsible for the protocol parameters change).
I sent the received bytes as suggested by the ISO 7816-3 as an acknowledge, and the ME indeed increased the baud rate (according to my ATR it went up to ~230400 bps).

my problem now is how to re-config the usart parameters, since it's already running at the initial configuration, but this is a different issue... :?

Return to “SAM3 Cortex-M3 MCU”

Who is online

Users browsing this forum: No registered users and 1 guest