|
M66291GP Datasheet, PDF (35/126 Pages) Renesas Technology Corp – ASSP (USB2.0 Device Controller) | |||
|
◁ |
M66291GP/HP
z Endpoint 1~6
{ When set to OUT buffer (EPi_DIR bit = â0â)
The condition for this bit to be set to â1â is as follows:
<The endpoint not specified by DMA_EP bits>
<The endpoint specified by DMA_EP bits with INTM bit set to â1â>
⢠When the IVAL bit of the endpoint changes from â0â to â1â
<The endpoint specified in DMA_EP bits with INTM bit set to â0â>
⢠When the buffer data including the received short packet (including the zero-length
packet) are all read out
The condition for this bit to be cleared to â0â differs according to the RDYM bit (Note):
⢠RDYM bit = â0â : When the IVAL bit of the endpoint changes from â1â to â0â
⢠RDYM bit = â1â : Writes â0â to this bit
Note :
When the INTM bit at the endpoint specified by the DMA_EP bit is set to â0â, the IVAL bit is
retained to â1â. Thus, it is necessary to write â1â to the BCLR bit and to clear the IVAL bit to
â0â when RDYM bit is set to â0â. Even when the RDYM bit is set to â1â, this bit can be cleared
by writing â0â. It is necessary to write â1â to the BCLR bit and to clear the IVAL bit.
{ When set to IN buffer (EPi_DIR bit = â1â)
The condition for this bit to be set to â1â is as follows:
<The endpoint not specified by DMA_EP bits>
<The endpoint specified by DMA_EP bits with INTM bit set to â1â>
⢠When the IVAL bit of the endpoint changes from â1â to â0â
⢠Or when EPi_DER bit is changed from â0â to â1â
<The endpoint specified by DMA_EP bits with INTM bit set to â0â>
This bit is not be set to â1â.
The condition for this bit to be cleared to â0â differs according to the RDYM bits:
⢠RDYM bit = â0â : When the IVAL bit of the endpoint changes from â0â to â1â
⢠RDYM bit = â1â : Writes â0â to this bit
Note : The IVAL bit is located per endpoint. For details, refer to â3.2.4 IVAL Bit and EPB_RDY Bitâ.
USB bus
OUT token
SYNC PID Addr Endp CRC EOP
Data packet
SYNC PID Data CRC EOP
ACK packet
SYNC PID EOP
Interrupt output
Occurrence of buffer ready interrupt
because the buffer could be read
Figure 2.8 Examples of Buffer Ready Interrupt Occurrence Timing (OUT transfer)
Rev1.01 2004.11.01 page 35 of 122
|
▷ |