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

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
(b) EP2 DMA transfer procedure
Perform DMAC transfer in 1 packet units. After setting the EP2READY flag, check the size of
data received from the host and then set the data size as the number of DMAC transfers.
1. Set the bits EP2T1 and EP2T0 in UDMAR.
2. Wait for the EP2READY flag in UIFR1 to be set.
3. Set DMAC.
4. Activate DMAC.
5. Perform DMA transfer (not more than 64 bytes).
6. Wait for DMA transfer end.
7. Repeat steps 2 to 6.
14.6.2
(1) Overview
Burst mode transfer or ycle steal transfer can be selected for the on-chip DMAC auto-request
transfer. Endpoints that can be transferred by the on-chip DMAC are all registers (UEDR0s,
UEDR0i, UEDR0o, UEDR1, UEDR2, UEDR3). Confirm flags and interrupts corresponding to
each data register before activating the DMA. As UDMAR is not used in auto-request mode, set
UDMAR to H'00.
(2) On-Chip DMAC Settings
The on-chip DMAC must be specified as follows: Auto-request, byte size, full-address mode
transfer, and number of transfers equal to or less than the maximum packet size of the data
register. After completing the DMAC transfers of specified time, the DMAC automatically stops.
Rev.7.00 Dec. 24, 2008 Page 522 of 698
REJ09B0074-0700
Read the value in UESZ2 and specifies the size of received data (not more than 64 bytes) as the
number of transfers.
DMA Transfer by Auto-Request
Figure 14.23 EP2RDFN Operation in UTRG0
64 bytes
EP2RDFN
(Automatically
performed)
64 bytes
EP2RDFN
(Automatically
performed)
22 bytes
EP2RDFN
(Automatically
performed)

Related parts for DF2211NP24V