Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.COM

X  

AN1527 Datasheet(PDF) 2 Page - STMicroelectronics

Part # AN1527
Description  DEVELOPING A USB SMARTCARD READER WITH ST7SCR
Download  14 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN1527 Datasheet(HTML) 2 Page - STMicroelectronics

  AN1527 Datasheet HTML 1Page - STMicroelectronics AN1527 Datasheet HTML 2Page - STMicroelectronics AN1527 Datasheet HTML 3Page - STMicroelectronics AN1527 Datasheet HTML 4Page - STMicroelectronics AN1527 Datasheet HTML 5Page - STMicroelectronics AN1527 Datasheet HTML 6Page - STMicroelectronics AN1527 Datasheet HTML 7Page - STMicroelectronics AN1527 Datasheet HTML 8Page - STMicroelectronics AN1527 Datasheet HTML 9Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 2 / 14 page
background image
2/14
DEVELOPING A USB SMARTCARD READER WITH ST7SCR
1 CCID IMPLEMENTATION
1.1 GENERALITIES
The Chip Card Interface Device (CCID) firmware implementation conforms to the “Universal
Serial Bus Device Class Specification for USB Chip/Smart Card Interface Devices” revision
1.0. It contains two files:
– Ccid_usb.c: This file contains the USB - CCID interface functions used to manage the state
machine that generates Bulk-in/Bulk-out messages.
– Ifd_ccid.c: This file contains the PC_to_RDR_xxx() and RDR_to_PC_xxx() message func-
tions for the CCID.
The following commands are not supported but can be added easily:
– PC_To_RDR_Secure,
– PC_To_RDR_SetDataRateAndClockFrequency,
– PC_To_RDR_ToAPDU,
– PC_To_RDR_Mechanical.
This CCID part uses a 271-byte buffer for all messages. Messages are composed of two
parts:
– header (10 bytes: fixed size)
– data (up to 261 bytes).
The size is based on the largest message managed at the short APDU transaction level. Due
to this large size, the ST7SCR can have only 1 buffer and cannot store more than one mes-
sage at a given time.
The CCID_BulkOutMessage() function uses several Bulk-out USB transactions to verify the
message header and store the entire message in the buffer.
When the message reception is completed, the CCID_DispatchMessage() function identifies
the message type and calls the corresponding function (PC_to_RDR_xxx()) for processing.
Then, the IFD part of the firmware executes a command on the ICC if necessary. This com-
mand is included in the data field of the buffer. The PC_to_RDR_xxx() function receives from
the IFD the answer to the message in the buffer data field and returns an error code to be in-
cluded in the Bulk-in response.
The RDR_to_PC_xxx() function, which corresponds to the PC_to_RDR_xxx() previously exe-
cuted, is launched and enters the correct values for error and status codes in the header.
At this time, the Bulk-in message is ready to be sent. B ut before the sending, the
CCID_IntMessage() function is executed to detect any hardware problems or if a slot change
has occurred. In this case, the corresponding interrupt message is sent to the host.
2


Similar Part No. - AN1527

ManufacturerPart #DatasheetDescription
logo
STMicroelectronics
AN1523 STMICROELECTRONICS-AN1523 Datasheet
382Kb / 24P
   11W FLYBACK CONVERTER FOR AUXILIARY POWER SUPPLY APPLICATION USING THE L6590
AN1526 STMICROELECTRONICS-AN1526 Datasheet
311Kb / 26P
   ST7FLITE0 QUICK REFERENCE NOTE
AN1528 STMICROELECTRONICS-AN1528 Datasheet
160Kb / 18P
   The testflash is a ST reserved flash area that contains device information
More results

Similar Description - AN1527

ManufacturerPart #DatasheetDescription
logo
STMicroelectronics
STEVAL-IPT005V1 STMICROELECTRONICS-STEVAL-IPT005V1 Datasheet
310Kb / 4P
   Smartcard connector for testing with a smartcard
April 2014 Rev 2
STEVAL-IPC001V1 STMICROELECTRONICS-STEVAL-IPC001V1 Datasheet
189Kb / 4P
   Smartcard manager for reader and writer
logo
OKI electronic componet...
ML69240 OKI-ML69240 Datasheet
92Kb / 13P
   Intelligent Microcontroller Driven Dual Smartcard Reader IC
logo
STMicroelectronics
ST7LCRE4U1 STMICROELECTRONICS-ST7LCRE4U1 Datasheet
394Kb / 29P
   Full-speed USB MCU with smartcard interface
logo
SparkFun Electronics
COM-13004 SPARKFUN-COM-13004 Datasheet
112Kb / 1P
   microSD USB Reader
8/3/2016
logo
Mitsumi Electronics, Co...
CKM-E81 MITSUMI-CKM-E81 Datasheet
185Kb / 2P
   USB Hub with Memory Card Reader/Writer
logo
SparkFun Electronics
SEN-09963 SPARKFUN-SEN-09963 Datasheet
129Kb / 1P
   SparkFun RFID USB Reader
6??0??7
logo
Cherry Semiconductor Co...
ST-1144UB CHERRY-ST-1144UB Datasheet
229Kb / 2P
   USB Smart Card Reader
logo
ATMEL Corporation
AT83C5127 ATMEL-AT83C5127 Datasheet
236Kb / 9P
   MICROCONTROLLER WITH USB AND SMART CARD READER INTERFACES
AT83C5122 ATMEL-AT83C5122 Datasheet
2Mb / 213P
   MICROCONTROLLER WITH USB AND SMART CARD READER INTERFACES
More results


Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14


Datasheet Download

Go To PDF Page


Link URL




Privacy Policy
ALLDATASHEET.COM
Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Datasheet Upload   |   Contact us   |   Privacy Policy   |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
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