| Electronic Components Datasheet Search |
|
SEC2410 Datasheet(PDF) 171 Page - Microchip Technology |
|
|
|||||||||||||||||||||||||||||
SEC2410 Datasheet(HTML) 171 Page - Microchip Technology |
|
171 / 283 page ![]() 2013 - 2014 Microchip Technology Inc. DS00001587C-page 171 SEC2410/SEC4410 16.1.9.3 Setup token Arrival When a SETUP token is recognized, the following sequence happens. 1. Independent of the state of SETUP bit, the setup data packet is received on EP0_WRITE and ACK is sent for the received setup packet. 2. The stall condition, if any, for EP0_READ and EP0_WRITE are cleared. 3. The internal DTOG bit for both EP0_READ and EP0_WRITE are set to one. 4. The data is stored at the location pointed to by WRLUT entry 15. 5. The SETUP bit in SEI_SRC register is set. 6. EP_RESET is set for EP0_READ and EP0_WRITE. 7. A completion notification is sent out for the Setup packet, using WRLUT entry 0 for the parameters. 8. EP0_WRITE is flushed. Any accumulated data is sent out and Completion Notifications are posted. 9. EP0_READ will discard any accumulated data not yet transferred to the host. 10. When the flush is completed, EP_RESET is set, and the endpoint is Reset. 11. The Processor will re-enable the endpoint once it has processed the Setup packet. 12. Until the endpoint is re-enabled, all OUT packets to EP0_WRITE are NACKed. 13. Until the endpoint is re-enabled, all IN packets to EP0_READ are NACKed. 16.1.9.4 Resume This global resume condition is recognized asynchronously and does not require the SIE clock running. Upon recogni- tion it causes the following. A USB RESET will be interpreted as a RESUME if it occurs while clocks are stopped. On detecting the resume conditions from the powerdown state, the following happens: 1. The ring oscillator is started. 2. The system clock source is set to the ring oscillator. 3. The PLL is started. 4. The RESUME bit in the WU_FM_SRC_1 register is set. 5. A resume interrupt is generated if the interrupt is unmasked. 6. The SIE and USB PHY resumes from power down state. 7. The hardware wait for the PLL to lock. 8. Once PLL locks, the system clock is switched to the PLL 16.1.9.5 Remote Wake-up When the Processor is required to go into power down state, the Processor simply clears the ROSC_EN bit and the PLL_EN bit. The hardware detects the powerdown condition of the processor and shuts down the PLL and ring oscilla- tor. When a remote wake-up event happens, the ring oscillator is started. 16.1.9.6 Standard Device Requests The SIE also handles autonomously several standard device requests received on Endpoint 0. These requests are: SET_CONFIGURATION, GET_CONFIGURATION, SET_FEATURE_ENDPOINT_HALT, CLEAR_FEATURE_END- POINT_HALT, SET_FEATURE_REMOTE_WAKE_UP, CLEAR_FEATURE_REMOTE_WAKE_UP, GET_INTERFACE, SET_INTERFACE and SET_ADDRESS. These events (except SET_ADDRESS, GET_INTERFACE (always returns 0), and GET_CONFIGURATION) are indicated in the SIE_SRC register, which can generate an interrupt to the Processor core’s INT3 line. The configuration number, resulting from the SET_CONFIGURATION command is stored in the USB_- CONF register. This value is used when reporting to the host on a GET_CONFIGURATION Command, also. All other device requests are handled normally and will generate the SETUP status bit when received. Note 16-2 The SIE hardware will automatically return a STALL to all non-zero-length packets during a status out phase. 16.1.9.7 SIE Configurations Upon POR or the detection of USB RESET, the Configuration of the device is cleared to “0”. The host may change its Configuration state to “1” with a “SET CONFIGURATION” command on Endpoint 0. All other Configuration number requests by the host will result in a STALL condition on Endpoint 0. For Configuration 0, only Endpoint 0 RX and TX are enabled, while all endpoints are enabled for Configuration 1. |
|
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 |