Datenblatt-Suchmaschine für elektronische Bauteile
  German  ▼
ALLDATASHEETDE.COM

X  

ST7SCR Datenblatt(PDF) 58 Page - STMicroelectronics

Teilenummer ST7SCR
Bauteilbeschribung  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
Hersteller  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

ST7SCR Datenblatt(HTML) 58 Page - STMicroelectronics

Back Button ST7SCR Datasheet HTML 54Page - STMicroelectronics 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 Next Button
Zoom Inzoom in Zoom Outzoom out
 58 / 102 page
background image
ST7SCR
58/102
SMARTCARD INTERFACE (Cont’d)
Waiting Time Counter
The Waiting Time counter is a 24-bit counter used
to generate a timeout signal.
The elementary time unit counter acts as a pres-
caler to the Waiting Time counter which is incre-
mented at the etu rate.
The Waiting Time Counter can be used in both
UART mode and Manual mode and acts in differ-
ent ways depending on the selected mode.
The CRDWT2, CRDWT1 and CRDWT0 are load
registers only, the counter itself is not directly ac-
cessible.
UART Mode
The load conditions are either:
– A Start bit is detected while UART bit =1 and the
WTEN bit =1.
or
– A write access to the CRDWT2 register is per-
formed while the UART bit = 1 and the WTEN bit
= 0. In this case, the Waiting Time counter can be
used as a general purpose timer.
In UART mode, if the WTEN bit of the CRDCR reg-
ister is set, the counter is loaded automatically on
start bit detection. Software can change the time
out value on-the-fly by writing to the
CRDWT registers. For example, in T=1 mode,
software must load the Block Waiting Time (BWT)
time-out in the CRDWT registers before the start
bit of the last transmitted character.
Then, after transmission of this last character, sig-
nalled by the TXC interrupt, software must write
the CWT value (Character Waiting Time) in the
CRDWT registers. See example in Figure 31.
Manual mode
The load conditions are:
– A write access to the CRDWT2 register is per-
formed while the UART bit = 0 and the WTEN bit
= 0
In Manual mode, if the WTEN bit of the CRDCR
register is reset, the timer acts as a general pur-
pose timer. The timer is loaded when a write ac-
cess to the CRDWT2 register occurs. The timer
starts when the WTEN bit = 1.
12.4.3.4 Interrupt generator
The Smartcard Interface has 2 interrupt vectors:
– Card Insertion/Removal Interrupt
– CRD Interrupt
The CRD interrupt is cleared when software reads
the CRDIPR register. The Card Insertion/Removal
is an external interrupt and is cleared automatical-
ly by hardware at the end of the interrupt service
routine (IRET instruction).
If an interrupt occurs while the CRDIPR register is
being read, the corresponding bit will be set by
hardware after the read access is done.
Figure 31. Waiting Time Counter Example
BWT
CWT
Reader
Smartcard
Firmware must program BWT
Firmware must program CWT
TXC Interrupt
Start bit
Waiting Time Counter
loaded on start bit
CHAR0
CHAR1
CHARn
CHAR0
CHAR1
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


Datenblatt Download

Go To PDF Page


Link URL



War ALLDATASHEET hilfreich?  [ DONATE ] 

Über Alldatasheet   |   Werbung   |   Kontakt   |   Privatsphäre und Datenschutz   |   Link zum Datenblatt    |   Linktausch   |   Hersteller
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