Electronic Components Datasheet Search
  English  ▼

X  

SEC2410 Datasheet(PDF) 169 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) 169 Page - Microchip Technology

Back Button SEC2410 Datasheet HTML 165Page - Microchip Technology SEC2410 Datasheet HTML 166Page - Microchip Technology SEC2410 Datasheet HTML 167Page - Microchip Technology SEC2410 Datasheet HTML 168Page - Microchip Technology SEC2410 Datasheet HTML 169Page - Microchip Technology SEC2410 Datasheet HTML 170Page - Microchip Technology SEC2410 Datasheet HTML 171Page - Microchip Technology SEC2410 Datasheet HTML 172Page - Microchip Technology SEC2410 Datasheet HTML 173Page - Microchip Technology Next Button
Zoom Inzoom in Zoom Outzoom out
 169 / 283 page
background image
 2013 - 2014 Microchip Technology Inc.
DS00001587C-page 169
SEC2410/SEC4410
16.1.7.8
Flushing Endpoints
If a FLUSH comes into EPx_READ or EPx_WRITE, it is handled in the following way.
1.
If the endpoint is in the middle of sending or receiving a packet, wait until that packet handling is completed, and
the endpoint has gone back to the idle state.
2.
If the endpoint is idle, and there is no work queue element posted, do nothing. Any pending completion notifica-
tion in the outgoing CN queue are not affected and will go out normally.
3.
If there are work queue elements pending, acts as if a zero length packet arrived for each one. That is, create a
normal completion notification for that element, with a data length of zero. As each element is “transferred” to the
completion queue, the WQE count goes down. Eventually all will be transferred to the completion queue.
4.
Once all the pending CNs have gone out, and the endpoint is empty of both WQ elements and CNs, set the flush
done bit.
When the firmware wants to FLUSH and endpoint, it will first disable the endpoint. This means CONT_MODE = ‘0’ for
EP0 and EP1, and CONT_MODE = ‘0’ and BLK_XFER_EN = ‘0’ for EP2. After disabling the Endpoint, the firmware
issues the flush to the Endpoint. The firmware is responsible for clearing the EP_COUNT if the FLUSH happened during
a DMA transfer.
When the AutoCBW processor issues a FLUSH, it is to recover buffers it wants to reuse. For AutoCBW operations, the
EP2 is always set to CONT_MODE operation.
16.1.8
AUTONOMOUS USB PROTOCOL
16.1.8.1
Automatic Retries - Out Transactions
If a packet is received with an incorrect data toggle, the SIE will ACK, but ignores the data packet.
If more than 64 bytes received on EP0 or EP1, or if more than 512 bytes are received on EP2, the USB SIE will ignore
the packet and set the appropriate “STALL” bit until the host acknowledges the condition by sending a “CLEAR FEA-
TURE ENDPOINT STALL” command for that endpoint, or, in the case of Endpoint 0, a SETUP is received.
If an error occurs during an OUT transaction, the hardware rewinds its read pointer back to buffer point where the MTU
started. The host then sends another OUT token and retransmits the packet.
Once the packet has been successfully received, the appropriate interrupt bit is set. The SIE can handle any number of
back-to-back retries, but the host determines how many times a packet is retried.
If an endpoint has no available buffer, then the SIE sends a NACK. The exception is setup packets on EP0, which are
always ACKed.
16.1.8.2
Automatic Retries - In Transactions
If an timeout (No response from the host / lost ACK) occurs during an IN transaction, the hardware reloads its USB SIE
side buffer read pointer back to the beginning of the failed MTU. The host then sends another IN token and the SIE re-
transmits the packet with the same data toggle PID.
Once the Processor has successfully received the packet (only upon ACK received by SIE), the appropriate endpoint
interrupt bit is set. The SIE can handle any number of back-to-back retries, but the host determines how many times a
packet is retried.
Upon reception of a SETUP token followed by the 8 byte DATA-0 packet on EP0, the internal DTOG bit for both
EP0_WRITE and EP0_READ are set to one.
16.1.8.3
Configuring the UDC20
The SETUP_CMD_ADDR register must be programmed in the UDC20. The default value in the part will conflict with
Status register. Additionally, the UDC20 powers up with the internal endpoints unconfigured. The firmware must config-
ure the UDC20 for each individual endpoint using the UDC_CSR_ADDR, UDC_CSR_DATA and UDC_CSR_CFG reg-
isters. The parameters that must be programmed are mtu size, alternate interface number, interface number
configuration number, type of endpoint, and endpoint number.



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