| Electronic Components Datasheet Search |
|
AN2284 Datasheet(PDF) 10 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN2284 Datasheet(HTML) 10 Page - STMicroelectronics |
|
10 / 40 page ![]() 4 SC Peripheral Description AN2284 10/40 4 SC Peripheral Description 4.1 Introduction The SmartCard Interface is an extension of UART1; for the description of the UART registers, please refer to STR710 datasheet. The SmartCard interface is designed to support asynchronous protocol SmartCards as defined in the ISO7816-3 standard. With SmartCard mode enabled, UART1 is configured as: - eight data bits plus parity - 0.5 or 1.5 stop bits A 16 bit counter and the SmartCard clock generator provide the clock to the SmartCard. GPIO bits in conjunction with software are used to provide the rest of the functions required to interface to the SmartCard. The inverse signalling convention as defined in ISO7816-3, inverted data and MSB first, is handled in the software. 4.2 External Interface Table 2. Smart Card Pins The ScRST, ScCmdVpp (command for Vpp), ScCmdVcc (command for Vcc), and ScDetect signals (signal for card detection) are provided by GPIO bits of the IO ports under software control. Programming the GPIO bits of the port for alternate function modes connects the UART TXD data signal to the ScDataOut pin with the correct driver type and the clock generator to the ScClk pin. 4.3 Protocol The ISO standard defines the bit times for the asynchronous protocol in terms of a time unit called an ETU which is related to the clock frequency input to the card. One bit time is of length one ETU. The UART transmitter output and receiver input need to be connected together externally. For the transmission of data from the STR71x to the SmartCard, the UART will need to be set up in SmartCard mode. Pin Number Pin Name Function P0.12 SCCIk Smart card clock P0.10 I/O I/O serial data: open drain @ both ends Any GPIO RST Reset to card VCC Supply voltage Vpp Programming voltage |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |