数据搜索系统,热门电子元器件搜索
  Chinese  ▼
ALLDATASHEETCN.COM

X  

AN2646 数据表(PDF) 4 Page - STMicroelectronics

部件名 AN2646
功能描述  Smartcard interface with the STM8S microcontroller
PDF  43 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
制造商  STMICROELECTRONICS [STMicroelectronics]
网页  http://www.st.com
标志 STMICROELECTRONICS - STMicroelectronics

AN2646 数据表(HTML) 4 Page - STMicroelectronics

  AN2646 Datasheet HTML 1Page - STMicroelectronics AN2646 Datasheet HTML 2Page - STMicroelectronics AN2646 Datasheet HTML 3Page - STMicroelectronics AN2646 Datasheet HTML 4Page - STMicroelectronics AN2646 Datasheet HTML 5Page - STMicroelectronics AN2646 Datasheet HTML 6Page - STMicroelectronics AN2646 Datasheet HTML 7Page - STMicroelectronics AN2646 Datasheet HTML 8Page - STMicroelectronics AN2646 Datasheet HTML 9Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 4 / 43 page
background image
Smartcard interface description
AN2646 - Application note
4/43
1
Smartcard interface description
1.1
Introduction
The smartcard interface is developed using the UART1 smartcard mode. For the description
of the UART1 registers, please refer to the STM8S/STM8A reference manual (RM0009).
The UART1 smartcard mode supports asynchronous protocol smartcards as defined in the
ISO 7816-3 (Class A) standard, please refer to the ISO 7816-3 specification for more
details.
With the smartcard mode enabled, the UART1 must be configured as:
●
Eight data bits plus parity
●
0.5 or 1.5 stop bits
A 5-bit prescaler and the smartcard clock generator provide the clock to the smartcard.
GPIO pins 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 ISO 7816-3, inverted data and MSB first, is
not handled in the software.
There are three types of card that operate at different voltages:
●
5V (ISO7816-3 Class A)
●
3V (ISO7816-3 Class B)
●
1.8V (ISO7816-3 Class C)
1.2
External interface
The Smartcard_RST (Smartcard reset), Smartcard_3/5V (3 V or 5 V), Smartcard_CMDVCC
(command for VCC), and Smartcard_OFF signals (signal for card detection) are provided by
GPIO bits of the I/O ports under software control. Programming the GPIO bits of the port for
alternate function open-drain mode connects the UART1_TX data signal to the
Smartcard_IO pin with the correct driver type and the clock generator to the
Smartcard_CLK pin configured in output push-pull.
1.3
Protocol
The ISO 7816-3 standard defines the bit times for the asynchronous protocol in terms of
time units called ETUs (elementary time units), that are related to the clock frequency input
Table 1.
Smartcard pins
STM8S20x pin
Smartcard pin
Function
UART1_CK
CLK
Smartcard clock
UART1_TX
IO
IO serial data: open drain
Any GPIO
RST
Reset to card
Any GPIO
VCC
Supply voltage
Any GPIO
VPP
Programming voltage



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43


数据表 下载

Go To PDF Page


链接网址



ALLDATASHEET是否为您带来帮助?  [ DONATE ] 

关于 Alldatasheet   |   广告服务   |   联系我们   |   隐私政策   |   数据表链接    |   链接交换   |   制造商名单
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