| Electronic Components Datasheet Search |
|
SEC2410 Datasheet(PDF) 165 Page - Microchip Technology |
|
|
|||||||||||||||||||||||||||||
SEC2410 Datasheet(HTML) 165 Page - Microchip Technology |
|
165 / 283 page ![]() 2013 - 2014 Microchip Technology Inc. DS00001587C-page 165 SEC2410/SEC4410 read request comes in, the data is sent from the Fifo, and at the same time, a request goes out to the AMBA master to fetch the rest of the data. The depth of the Fifo is greater than the latency of the AMBA bus so that it ensures that the VCI bus is never starved for data. As a buffer is posted on a read queue, that read endpoint is not enabled (from the VCI’s perspective) until the pre-fetch buffer is filled. All the write endpoints share a common fifo. As soon as a buffer is posted for a write endpoint, that endpoint is ready to accept data. When a write occurs from the VCI bus, the data does to the EPx_WRITE_FIFO, if the associated write endpoint is enabled. If the endpoint is not enabled, the accesses is NAKed. In parallel with the data being written, the control logic looks up the WR information associated with that endpoint. The control logic posts a DMA request to AMBA master for a data write, with the address taken out of the WR for that endpoint. The data accumulates in the FIFO while the AMBA master waits for access to the bus. Once bus access is granted, the write Fifo will be drained much faster than it will be written to from the VCI side. 16.1.7 ENDPOINT CONTROL The endpoint control registers control how the transport interface interacts with endpoint accesses from the VCI bus of the UDC20. 16.1.7.1 Controlling EP0 EP0 in SEC2410/SEC4410 is a control endpoint. It can only operate in Continuous mode. EP0_READ and EP0_WRITE must be programmed the same for correct operation. If CONT_MODE is set to ‘0’, the endpoint is disabled except for inbound Setup packets. BLK_XFER_EN has no effect on this endpoint. If CONT_MODE is set to ‘1’ and 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. Since EP0 is not a DMA endpoint, only one buffer can be posted for EP0_READ and one for EP0_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. A buffer is available (enabled) for transfer for EP0_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, 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. EP0_WRITE will always accept Setup packets, as long as the USB interface is enabled. EP0_WRITE will set the LAST_BIT in a completion notification if a short packet comes in, it is not a SETUP packet, and the NO_LAST bit is cleared. In all other conditions, the LAST_BIT in the completion notification is cleared. If more than one buffer is posted to EP0_READ or EP0_WRITE, it is an error with unpredictable results. The MTU size for EP0_READ and EP0_WRITE must be programmed to 64 Bytes. WR_COUNT has no meaning for EP0. EP_CNT has no meaning for this endpoint. 16.1.7.2 Controlling EP1 EP1 in SEC2410/SEC4410 is a interrupt endpoint. It can only operate in Continuous mode. EP1_READ and EP1_WRITE should be programmed the same for normal operation, but there is no restriction about programming them differently. If CONT_MODE is set to ‘0’, the endpoint is disabled. BLK_XFER_EN has no effect on this endpoint. If CONT_MODE is set to ‘1’ and 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. |
|
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 |