Hi, Many thanks for the answers! Let's continue the discussion, but please be patient with me - I still do not understand what/how should be done in order to use the SD card with the secure element and how to connect it via S2C, so let's start with basics:
The SD card has normally 8 pins and uses the SD/SPI bus. The bus is used by the phone driver to send to the SD card only the specified file I/O commands (read/write memory blocks, read/write some SD card registers, etc.) - that's what the SD card controller understands. On the enhanced SD card is then besides the normal flash storage also the secure element (smart card). To access the smart card the file I/O based interface is re-used, i.e. if you write something and it starts with 'magics' in header and it is valid APDU command it is send to the smart card instead of being saved to the flash memory - this is handled by the on-card enhanced controller, which inspects the content of the passed data (http://www.ctst.com/CTST08/pdf/Poitner.pdf, http://www.gi-de.com/en/products_and_solutions/products/secure_microsd/product_details_4992.jsp). Other possibility to talk to the smart card is use of the Mc-EX, but as far as I know this is not supported at all (BUT!! might be I am wrong - I have found some references in SEEK there:http:// code.google.com/p/seek-for-android/source/browse/trunk/seek/src/ android/smartcard/libraries/smartcard/mcex/McexBusyException.java? spec=svn2&r=2). Now having the standard SD card slot in which is inserted the microSD card with the secure element, which can be accessed by two above mentioned ways - how this can be connected with the NXP 544 s2c interface? According to my understanding in the mode you are describing as an 'internal' the NFC controller emits the same data like if it communicates with the smart card over the radio, but instead of using the RF antenna to send the data they are redirected over the wired s2c bus to the SD card pins - so 2 selected SD card pins must be used for that. This also means the phone (Andorid) SD card driver be modified to allow to send other than file I/O data and those data must be understand by the controller on the SD card? Since the s2c is built on the top of the ISO 18092 (right?) this protocol must be understand by the on-card enhanced controller? So the NXP 544 s2c bus must be somehow physically connected to the SD card slot? Is that right? Since the Nexus S already has the built-in SmartMX family (BTW – do you know which chip is exactly used?) secure element how the SD card secure element is selected? How the system understands to which secure element it should talk, e.g. to embedded SmartMX or SD card? Or it is not possible to use SD card when there is already embedded secure element? This is valid also for the phones without embedded secure element (like all Nokia NFC phones) or CDMA phones, which do not have SIM cards, thus there is no possibility to use the UICC via SWP... I know there is too much questions, but I try to understand if it is at all possible to use the SD card or not and if it is possible, what can be changed even in OS source code and if some HW changes in the phones are necessary regarding the internal connection between NXP 544 and SD card slot – you said "it will need some "special" hardware support: To use SD card that support the NFC-WI, the SIGIN and SIGOUT signal lines of the NFC-WI would need to be connected to the NFC chip.". If true, is it already in the Google Nexus S, will this be in the Galaxy SII? Thanks a lot, Kind Regards, STeN -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

