Electronic Components Datasheet Search
  English  ▼

X  

SEC2410 Datasheet(PDF) 115 Page - Microchip Technology

Part # SEC2410
Description  HS Endpoint Processor with USB 2.0, Smart Card, and FMC for Secure Token and Storage
PDF  283 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  MICROCHIP [Microchip Technology]
Direct Link  http://www.microchip.com
Logo MICROCHIP - Microchip Technology

SEC2410 Datasheet(HTML) 115 Page - Microchip Technology

Back Button SEC2410 Datasheet HTML 111Page - Microchip Technology SEC2410 Datasheet HTML 112Page - Microchip Technology SEC2410 Datasheet HTML 113Page - Microchip Technology SEC2410 Datasheet HTML 114Page - Microchip Technology SEC2410 Datasheet HTML 115Page - Microchip Technology SEC2410 Datasheet HTML 116Page - Microchip Technology SEC2410 Datasheet HTML 117Page - Microchip Technology SEC2410 Datasheet HTML 118Page - Microchip Technology SEC2410 Datasheet HTML 119Page - Microchip Technology Next Button
Zoom Inzoom in Zoom Outzoom out
 115 / 283 page
background image
 2013 - 2014 Microchip Technology Inc.
DS00001587C-page 115
SEC2410/SEC4410
To anticipate the ATR sequence, the Controller is placed by software into a special mode called “ATR”. In this mode,
two of the timers are in a special mode to validate the timing of the sequence. Figure 3.6 shows the sequence of events
in a Cold Reset, where power has been removed from the card. Figure 3.7 shows the sequence of events in a Warm
Reset, where power is maintained, but a new SC_RST_N pulse is applied to reset the card.
In preparing for the ATR sequence, the software must establish the default etu time: the equivalent of TA1=0x11, or 372
periods of the selected SC_CLK frequency.
At the beginning of the sequence, the two reload registers of the Guard Timer determine the duration of the Reset pulse
and measure the response time from the Smart Card to enforce a valid delay. After the first character, the CWT Timer
starts, and counts the maximum amount of time the card is allowed to spend between characters. When the CWT timer
expires, an interrupt (CWT) is sent to the software, which can then read the message from the FIFO. This event will also
set the FIFO Threshold interrupt active. Software will be able to parse the message and determine whether it is com-
plete.
Software may, rather than using the CWT timer for this purpose, set thresholds for the FIFO such that it is periodically
interrupted either by the individual characters or by larger expected fields. The CWT timer will still be useful as an error
indication.
The first byte (TS) is interpreted by hardware. One of two values is allowed, which from that point onward determines
the “convention” used by the card. The possible conventions used are listed below. “L” means a bit time with the SC_IO
pin held low, and “H” means a bit time with the SC_IO pin held high.
Direct Convention, which is signaled by the TS bit sequence LHHLHHHLLHHH. In this convention, bits of a character
are sent least-significant bit first, ‘0’ bits in the data field are represented by the Low state, and a true Even parity is used.
This byte will appear as 0x3B in the FIFO.
Inverse Convention, which is signaled by the TS bit sequence LHHLLLLLLHHH. In this convention, bits of a character
are sent most-significant bit first, ‘0’ bits in the data field are represented by the High state, and an inverted Even parity
bit is used (appearing as a parity error to any circuit reading it according to the Direct convention). This byte will appear
as 0x3F in the FIFO.
The Direct or Inverse convention will be selected automatically by hardware after receiving the TS byte after a rising
edge on the SC_RST_N signal. This setting will be reported in the TSM bit of the Protocol Status register, and will be
used to interpret all characters until the next SC_RST_N pulse. If any TS value other than the two above is seen, the
receiver will be disabled, and the CV bit (Code Violation) will be set in the PRIP register to indicate the error. If a FIFO
threshold larger than one byte was selected, the eventual CWT timer interrupt will both set the FIFO Threshold interrupt
and alert the software to look at the error flag.
While power is not applied to the card, the terminal is required to hold the SC_RST_N, SC_CLK and SC_IO pins low
(not floating). When power is first applied to the card (a Cold Reset, shown in Figure 3.6), the SC_RST_N pin must be
held low until SC_CLK begins running. SC_IO must rise to its idle state (high) after power has been applied, and no later
than 200 cycles of SC_CLK. The SC_RST_N pin must then be set high between 108 and 120 default etu times after the
clock starts.
When the card has already been initialized from a Cold Reset, it may be reset without removing power. This is a “Warm
Reset”, shown in Figure 3.7. In this case, the clock keeps running, SC_IO should remain high, and the time range of
108 to 120 default etu times applies to the width of the SC_RST_N pulse.
13.9.4
GUARD TIME ALGORITHM
A special case occurs under some circumstances, in which software thinks that an exchange is finished, but the card
does not, and keeps transmitting characters. One such case is when a parity error occurs in a T=1 message. The FIFO
stops receiving characters after the faulty one (for diagnostic purposes, to indicate the character with the error), and
signals to software an End of Message with an error.
In this circumstance, it is necessary that any transmission commanded by the software (e.g., the packet complaining
about the parity error) must wait until the card is finished transmitting. However, if the card is insane and does not stop
transmitting, then software must be informed of this error so that the card can be deactivated. The Guard Time Algorithm
hardware serves both of these purposes.
A specific error flag is provided (TF), and a timing register (GSR), to support this feature. The feature is not optional,
and so it cannot be disabled.
The GSR register (Guard Spacing Register) is programmed by software with the expected maximum spacing between
received characters in units of etus, including extra guard time EGT. (This information might be considered redundant,
but is required in a separate register by the implementation.) The value in the GSR register is interpreted as a maximum
amount of time allowed from start bit to start bit, and so it must be at least



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