DF2211NP24V Renesas Technology / Hitachi Semiconductor, DF2211NP24V Datasheet - Page 575

no-image

DF2211NP24V

Manufacturer Part Number
DF2211NP24V
Description
H8S/2200 Series, 2212 Group, USB, RTC, HSS TNP-64B; Vcc= 2.7 to 3.6 volts, Temp= -20 to 75 C; Package: PVQN0064LB-A
Manufacturer
Renesas Technology / Hitachi Semiconductor
Datasheet
Accordingly, this processing is automatically performed only when 64-byte data is sent. This
processing is not performed automatically when data less than 64 bytes is sent.
(b) EP1 DMA transfer procedure
1. Set the bits EP1T1 and EP1T0 in UDMAR.
2. Set DMAC (specifies the number of transfers in DMAC to transmit 150 bytes of data).
3. Activate DMAC.
4. Perform DMA transfer.
5. Write 1 to the EP1PKTE bit in UTRG0 by a DMA transfer end interrupt.
(4) EP2 DMA Transfer
The EP2T1 bit in UDMAR enables the DMA transfer. The EP2T0 bit in the UDMAR specifies the
DREQ signal to be used by the DMA transfer. When 1 is written to the EP2T1 bit, the DREQ
signal is driven low if at least one of EP2 data FIFOs is full (ready state); the DREQ signal is
driven high if both EP2 data FIFOs are empty when all receive data items are read.
(a) EP2RDFN in UTRG0
When DMA transfer is performed on EP2 receive data, do not write 1 to EP2RDFN after one data
FIFO (64 bytes) has been read. In data transfer other than DMA transfer, the next data cannot be
read after one data FIFO (64 bytes) has been read unless 1 is written to EP2RDFN. While in DMA
transfer, the USB module automatically performs the same processing as writing 1 to EP2RDFN if
the currently selected data FIFO becomes empty. Accordingly, in DMA transfer, the user needs
not to write 1 to EP2RDFN. If the user writes 1 to EP2RDFN in DMA transfer, excess transfer
occurs and correct operation cannot be guaranteed.
Figure 14.23 shows an example of EP2 receiving 150 bytes of data from the host. In this case,
internal processing as the same as writing 1 to EP2RDFN is automatically performed three times.
This kind of internal processing is performed when the currently selected data FIFO becomes
empty. Accordingly, this processing is automatically performed both when 64-byte data is sent and
when data less than 64 bytes is sent.
64 bytes
Figure 14.22 EP1PKTE Operation in UTRG0
EP1PKTE
(Automatically
performed)
64 bytes
EP1PKTE
(Automatically
performed)
Rev.7.00 Dec. 24, 2008 Page 521 of 698
22 bytes
Executed by DMA transfer
end interrupt (user)
EP1PKTE is
not performed
REJ09B0074-0700

Related parts for DF2211NP24V