Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

ST7SCR Datasheet(PDF) 59 Page - STMicroelectronics

Part # ST7SCR
Description  8-BIT LOW-POWER, FULL-SPEED USB MCU WITH 16K FLASH, 768 RAM, SMARTCARD I/F, TIMER
PDF  102 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

ST7SCR Datasheet(HTML) 59 Page - STMicroelectronics

Back Button ST7SCR Datasheet HTML 55Page - STMicroelectronics ST7SCR Datasheet HTML 56Page - STMicroelectronics ST7SCR Datasheet HTML 57Page - STMicroelectronics ST7SCR Datasheet HTML 58Page - STMicroelectronics ST7SCR Datasheet HTML 59Page - STMicroelectronics ST7SCR Datasheet HTML 60Page - STMicroelectronics ST7SCR Datasheet HTML 61Page - STMicroelectronics ST7SCR Datasheet HTML 62Page - STMicroelectronics ST7SCR Datasheet HTML 63Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 59 / 102 page
background image
ST7SCR
59/102
SMARTCARD INTERFACE (Cont’d)
12.4.3.5 Card detection mechanism
The CRDDET bit in the CRDCR Register indicates
if the card presence detector (card switch) is open
or closed when a card is inserted. When the
CRDIRF bit of the CRDSR is set, it indicates that a
card is present.
To be able to power-on the smartcard, card pres-
ence is mandatory. Removing the smartcard will
automatically start the ISO7816-3 card deactiva-
tion sequence (see Section 12.4.3.6).
There is no hardware debouncing: The CRDIRF
bit changes whenever the level on the CRDDET
pin changes. The card switch can generate an in-
terrupt which can be used to wake up the device
from suspend mode and for software debouncing.
Three different cases can occur:
– The microcontroller is in run mode, waiting for
card insertion:
Card insertion generates an interrupt and the
CRDIRF bit in the CRDSR register is set. De-
bouncing is managed by software. After the time
required for debouncing, if the CRDIRF bit is set,
the CRDVCC bit in the CRDCR register is set by
software to apply the selected voltage to the
CRDVCC pin
– The microcontroller is in suspend mode and a
card is inserted:
The ST7 is woken up by the interrupt. The card
insertion is then handled in the same way as in
the previous case.
– The card is removed:
– The CRDIRF bit is reset without hardware de-
bouncing
– A Card Insertion/Removal interrupt is generat-
ed, (if enabled by the CRDIRM bit in the
MISCR2 register)
– The CRDVCC bit is immediately reset by
hardware, starting the card deactivation se-
quence.
Figure 32. Card detection block diagram
CRDDET
CRD
CRDSR
1
0
CARD INSERTION/REMOVAL
0
7
IRF
DET
CRDCR
0
7
CNF
CRD
MISCR2
0
7
IRM
Pull-up
EDGE DETECTOR
Interrupt Request
SMARTCARD INTERFACE (CRD)
1



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 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


Datasheet Download

Go To PDF Page


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


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