h8s-2158 Renesas Electronics Corporation., h8s-2158 Datasheet - Page 255

no-image

h8s-2158

Manufacturer Part Number
h8s-2158
Description
Renesas 16-bit Single-chip Microcomputer H8s Family/h8s/2100 Series
Manufacturer
Renesas Electronics Corporation.
Datasheet
8.10
Figure 8.13 shows the initialization flow of the RFU.
1. The initial state of the FIFO is the FIFO empty state. When a single data block is transferred
2. If the DTE bit is cleared to 0, the FIFO full state is automatically canceled and then the FIFO
3. In medium-speed mode, the DTSPEED bit in SBYCR should be set to 1.
from RAM to the peripheral module, first initialize the RFU and then clear the FIFO empty
state by writing 1 to the STCLR bit in DTCRB.
empty state is entered.
RFU Initialization
Set DTCRA (Sz, BUD(2-0), PMD1, PMD0)
Clear DTSTRA, DTSTRB, DTSTRC
Set DTIDR, DTIDSRA, DTIDSRSB
Set DTCRA (IDE-A, IDE-B)
Clear DTE bit in DTCRD
Clear RAR, WAR, TMP
Set DTE bit in DTCRD
Set DTCRB
Set DTIER
Set BAR
Figure 8.13 RFU Initialization Flow
Disable the relevant pointer set
Clear the pointer
Clear each setting
Transfer word/byte data and
set the boundary size and pointer mode
Enable use of status flags
Assign an ID and set the transfer direction
Set the interrupt enable bits
Enable the ID
Set the pointer set enable bit
Set the base address
Rev. 3.00 Jan 25, 2006 page 203 of 872
Section 8 RAM-FIFO Unit (RFU)
REJ09B0286-0300

Related parts for h8s-2158