Electronic Components Datasheet Search
  English  ▼

X  

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

Back Button SEC2410 Datasheet HTML 162Page - Microchip Technology SEC2410 Datasheet HTML 163Page - Microchip Technology SEC2410 Datasheet HTML 164Page - Microchip Technology 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 Next Button
Zoom Inzoom in Zoom Outzoom out
 166 / 283 page
background image
SEC2410/SEC4410
DS00001587C-page 166
 2013 - 2014 Microchip Technology Inc.
Since EP1 is not a DMA endpoint, only one buffer can be posted for EP1_READ and one for EP1_WRITE. A buffer is
available for transfer for EP0_WRITE if one of the following conditions is met:
1.
For EP1_WRITE, the buffer is bigger than or equal to an MTU size.’
2.
For EP1_WRITE the buffer has the last bit set. If the incoming packet is bigger than the buffer, the OVERFLOW
error is set for the transfer.
A buffer is available for transfer for EP1_READ if the following condition is met:
1.
The buffer is smaller or equal to the pre-fetch size, the whole buffer must be pre-fetched before the endpoint can
be enabled.
2.
If the buffer is bigger than the pre-fetch buffer, but less than or equal to an MTU, the pre-fetch buffer must be filled
before the endpoint can be enabled. If an IN comes in, the data from the pre-fetch buffer is sent out, while an
AMBA read request is made for the remainder of the data.
3.
If the buffer is bigger then an MTU, the pre-fetch buffer must be filled before the endpoint can be enabled. If an
IN comes in, an AMBA read request is made for the remainder of the data in the MTU. Once an MTU’s worth of
data has gone, the available buffer is decremented by an MTU size. The remaining buffer is available for the next
transfer.
If more than one buffer is posted to EP1_READ or EP1_WRITE, it is an error with unpredictable results.
EP1_WRITE will set the LAST_BIT in a completion notification if a short packet comes in, and the NO_LAST bit is
cleared. In all other conditions, the LAST_BIT in the completion notification is cleared.
The MTU size for EP1_READ and EP1_WRITE can be programmed to any valid value. The value in the Endpoint MTU
register must exactly match the value in the UDC20 configuration for that endpoint.
WR_COUNT has no meaning for EP1.
EP_CNT has no meaning for this endpoint.
16.1.7.3
Controlling EP2
EP2 in SEC2410/SEC4410 is a Bulk endpoint, with DMA capability. It can operate in Continuous mode or DMA (Block
Transfer) mode. EP2_READ and EP2_WRITE should be programmed the same for normal operation, but there is no
restriction about programming them differently. If both CONT_MODE and BLK_XFER_EN are set to ‘0’, the endpoint is
disabled.
In Continuous mode, CONT_MODE is set to ‘1’ and BLK_XFER_EN is set to ‘0’. If there is a buffer available, the trans-
port interface will “ACK” an endpoint data request. If there is no buffer available, endpoint data requests will be NAKed.
In DMA mode, CONT_MODE is set to ‘0’ and BLK_XFER_EN is set to ‘1’. BLK_XFER_EN must be enabled after setting
the EP_CNT for the endpoint to the length of the transfer. If there is a buffer available, the transport interface will “ACK”
an endpoint data request. If there is no buffer available, endpoint data requests will be NAKed. During a DMA transfer
EP_CNT is reduced by the packet size after each transfer. The reduction can only be done after getting an “good” status
from the VCI bus for that transfer. When the count goes down to zero, BLK_XFER_EN is cleared, and BLK_XFER_-
COMPLETE is set. If the last reduction results in EP_CNT going less than zero, it is an error, and the OVERFLOW bit
is set.
A DMA transfer can be terminated prematurely by the following events:
1.
If the DMA is to the USB host, (EP2_READ active) and a buffer arrives with the LAST bit set, it will terminate the
transfer. If EP_CNT does not go to zero, then the RESIDUAL interrupt is set, indicating an error.
2.
If the DMA is from the USB host (EP2_WRITE active), and the host sends a short packet, it will terminate the
transfer. If EP_CNT does not go to zero, then the RESIDUAL interrupt is set, indicating an error.
3.
If the DMA is from the USB host (EP2_WRITE active), and the host sends a ZLP, it will terminate the transfer.
The ZLP interrupt is set, and the RESIDUAL interrupt is set, indicating an error.
At the end of each successful packet, the hardware must readjust the WR addresses and length, and issue CNs as
appropriate.
There can be up to four buffers available queued up and ready for EP2_READ and EP2_WRITE. A buffer is available
for transfer for EP0_WRITE if one of the following conditions is met:
1.
The buffer is bigger than or equal to an MTU size.
2.
The buffer has the last bit set. If the incoming packet is bigger than the buffer, the OVERFLOW error is set for
the transfer.
3.
There are at least two buffers in the queue.



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