| Electronic Components Datasheet Search |
|
SEC2410 Datasheet(PDF) 196 Page - Microchip Technology |
|
|
|||||||||||||||||||||||||||||
SEC2410 Datasheet(HTML) 196 Page - Microchip Technology |
|
196 / 283 page ![]() SEC2410/SEC4410 DS00001587C-page 196 2013 - 2014 Microchip Technology Inc. 18.8.7 TAIL_MODE USAGE SEC2410/SEC4410 does not support the tail mode. This bit is set by Processor when working with unmapped media. To optimize throughput, the copy head / copy tail sequence is only used when an out of sequence transfer has to be done. When an out of sequence transfer is required, the CBWP signals the Processor to do the copy tail before proceeding with a new transfer. The interrupt is set when one of the following conditions are met: 1. Timeout: 1 ms has passed with no traffic to the last media accessed. 2. The latest transfer is not a continuation of the previous transfer. 3. An error occurred during the transfer. 4. An error occurred in the new CBW. There will be a tail mode interrupt. AFTER the tail mode interrupt is cleared, the particular CBW error interrupt will file. The tail once bit acts as a stall command to the Auto CBWP. Once the Processor does the copy tail using the FMI inter- face, it clears the TAIL_MODE bit, and the Auto CBWP continues processing. 18.8.8 DISABLE_D0 USAGE bit The ACBW processor tries to keep two buffers posted at the SIE Write (OUT) endpoint at all times. This is done to avoid the SIE issuing NYETs to the host when only one buffer is available. When the host sees NYETs it will throttle back the bandwidth allocated to the device. This has a long term penalty associated with it. Issuing two buffers has the following potential race condition. If the host issues an OUT CBW, followed immediate by the data, then the decision to encrypt or not encrypt the data has to be made after the complete arrival of the CBW, and before the arrival of the data. This is not a problem for the hardware. However if firmware intervention is required in the making of the decision, then the DISABLE_D0 bit must be set. This bit forces only one buffer to be issued. When only one buffer is issued, the firmware can hold off issuing the data buffer until it has completed processing of the CBW. 18.8.9 DATA0 TIMING CONSTRAINTS WITH AES When AES is used, it is a requirement that the parameters required by the AES block be provided within 300ns of receipt of the CBW. The timing constraint comes from the fact that on USB OUTs, the first Data packet will follow the CBW almost immediately. The gaps in the packet timing come from the USB 2.0 specification 7.1.18.2. The first constraint is that if a host is transmitting two packets in a row, the inter-packet gap must be at least 88 bit time. The second constraint is that when transmitting after receiving a packet, host and devices must provide an inter-packet gap of at least 8 bit times. TABLE 18-7: AUTOMATIC CBW PROCESSING CONTROL REGISTER 2 AUTO_CBW_CTL_2 (0X1001 - RESET=0X04) Automatic CBW Processing Register 2 Bit Name R/W Description 7:3 Reserved R Always read ‘0’ 2 DATA_CONCAT R/W 0: No data concatenation/separation is performed. 1: Data Concatenation/Separation mode: Treats data between two buffers as consecutive if these have the same direction and Endpoint number. Default value is ‘1’ 1 ABORT_AES R/W This is a self clearing bit. When set it will terminate the current AES frame. 0 DISABLE_D0 R/W Writing a ‘1’ to this bit forces the Auto CBW processor not to issue a DATA0 buffer. This reduces throughput by causing NYETs on the USB bus. It should only when AES encryption/Decryption is used. |
|
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 |
| 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 |