M30245_06 RENESAS [Renesas Technology Corp], M30245_06 Datasheet - Page 327

no-image

M30245_06

Manufacturer Part Number
M30245_06
Description
RENESAS 16-BIT SINGLE-CHIP MICROCOMPUTER M16C FAMILY / M16C/20 SERIES
Manufacturer
RENESAS [Renesas Technology Corp]
Datasheet
M30245 Group
Rev.2.00 Oct 16, 2006
REJ09B0340-0200
Figure 3.7.2. Setting routine (1) of DMA transfer from USB OUT FIFO to serial sound interface
Setting USB-related registers
(b15)
(b15)
(b15)
b7
b7
b7
0 0 0 0 0 0
b7
b7
0
0
0 0 0 0 0 0 0 0
Setting DMA0 cause select register
Disable DMA0
Enable USB endpoint 1 OUT
0
0
Initialization USB function unit (See “2.8 USB function” for detail)
Set USB DMA0 request register [address 0290
Initialization serial sound interface (See “2.6 Serial sound interface” for detail)
0
0
1
page 318 of 354
1
0 1
1
(b8)
(b8)
(b8)
b0
b0
b0
b0
b0
0
b7
b7
0 0 1 0
b7
DMA0 control register
DM0CON [Address 002C
DMA0 cause select register
DM0SL [Address 03B8
DMA request cause select bits
Nothing is assigned. Write “0” when writing to these bits.
Software DMA request bit
DMA enable bit
0 : Disabled
0 1 1 1 0 : SSI1 transmit
0 : Not occurred
Continued to the next page
0 0 0 0
b0
b0
b0
1
USB endpoint enable register
USBEPEN [Address 028E
USB Endpoint 1 OUT control and status register
EP1OCS [Address 02B6
AUTO_CLR bit
USB Endpoint 1 OUT MAXP register
EP1OMP [Address 02B8
Set to 120
EP1 OUT enable bit
16
0 : AUTO_CLR disabled
1 : Enabled
]
16
]
16
16
(288 bytes)
] to “0000
16
16
16
16
]
]
” (not selected)
]
3. USB Applications

Related parts for M30245_06