Usage Notes; Module Stop Mode Setting; On-Chip Ram; Dtce Bit Setting - Renesas H8S/2158 User Manual

16-bit single-chip microcomputer h8s family/h8s/2100 series
Table of Contents

Advertisement

Section 7 Data Transfer Controller (DTC)
7.8

Usage Notes

7.8.1

Module Stop Mode Setting

DTC operation can be enabled or disabled by the module stop control register (MSTPCR). In the
initial state, DTC operation is enabled. Access to DTC registers are disabled when module stop
mode is set. Note that when the DTC is being activated, module stop mode can be specified. For
details, refer to section 27, Power-Down Modes.
7.8.2

On-Chip RAM

MRA, MRB, SAR, DAR, CRA, and CRB are all located in on-chip RAM. When the DTC is used,
the RAME bit in SYSCR should not be cleared to 0.
7.8.3

DTCE Bit Setting

For DTCE bit setting, use bit manipulation instructions such as BSET and BCLR, for reading and
writing. Multiple DTC activation sources can be set at one time (only at the initial setting) by
masking all interrupts and writing data after executing a dummy read on the relevant register.
7.8.4

Setting Required on Entering Subactive Mode or Watch Mode

Set the MSTP14 bit in MSTPCRH to 1 to make the DTC enter module stop mode, then confirm
that is set to 1 before making a transition to subactive mode or watch mode.
7.8.5

DTC Activation by Interrupt Sources of SCI, IIC, or A/D Converter

Interrupt sources of the SCI, IIC, or A/D converter which activate the DTC are cleared when DTC
reads from or writes to the respective registers, and they cannot be cleared by the DISEL bit in
MRB.
7.8.6

DTC Activation by Interrupt Sources of USB or MCIF

When activating the DTC by a USB or MCIF interrupt source, correct operation is not guaranteed
if the DISEL bit in MRB is cleared to 0. Be sure to set the DISEL bit to 1 before DTC activation.
Rev. 3.00 Jan 25, 2006 page 166 of 872
REJ09B0286-0300

Advertisement

Table of Contents
loading

Table of Contents