Hi,
I've been testing the NFC sim with oscilloscope with this results:
- I use the new Omnikey 3121 reader, it was able to read the sim card. Vcc = 5V, Vpp = 3V, CLK = 5 Mhz.
- I try again to read same sim card with SCR 3310, but no way to do it; no green LED, Vcc = 0. I check with an old GRcard SIM, Vcc = 5V, Vpp = 0V, CLK = 5Mhz.
As SCR 3310 reader is unable to read this NFC sim cards, could be because are not
implementing OpenCard Framework API (implemented only by Omnikey reader) ?
After test with both readers, I get back to iPhone:
- Using the sim card without simtrace: Vcc = 1.8V, Vpp = 0V and 5Mhz CLK.
- simtrace w/ iPhone SE:
* only 2 times wasn't unable to recognize the sim card ("NO SIM card" message), that I guess could be mechanical problems due to wires, cables and so on.
* when was able to read the sim, Vcc is always 3V (as in specs), Vpp = 0V and CLK 5 Mhz, but never was able to trace; or just nothing after "ATR APDU:" or gets stuck after a few very strange lines in which bytes CLA doesn't make sense:
APDU: 00 00 04 b0 00 ff ff
APDU: 02 90 00 00 a4 00 04
APDU: 02 a4 6f 07 61 22 00
APDU: c0 00 00 22 c0 62 20
Looks like order or synchronization is lost, as you can see a regular APDU highlighted between two lines. Could be this issue related with the T=0 implementation?: "Unfortunately, the Rx Timeout feature of the USART is not working in T=0 mode, so I had to re-implement Rx timeout (waiting time) handling by means of the TC (timer/counter) block 0. Due to technical limitations, we will wait up to one byte (12 etu) more than we should."
Regards,
Pedro