Section 8 RAM-FIFO Unit (RFU)
Rev. 3.00 Jan 25, 2006 page 204 of 872
REJ09B0286-0300
8.11
Usage Notes
1. Conflict between CPU write to DTRSR and RFU activation request
If conflict occurs between a CPU write to the RS bit in DTRSR while it is 0 and an RFU
activation request, data transfer by the RFU cannot be performed correctly.
In order to access the FIFO state, the RS bit must be set to 1 at RFU initialization in advance.
When the RS bit is cleared to 0, the CPU should not write to DTRSR during RFU data
processing.
2. FIFO full and FIFO empty states
When using a temporary pointer, the FIFO full and FIFO empty states during RFU data
processing cannot be retained successfully, and overread or overwrite of data may occur.
If making use of a temporary pointer, be sure to check on the number of bytes of valid data and
free area for the FIFO, and the EMPTY and FULL flag states before data processing.
3. DATAN/FREEN read value
If DATAN or FREEN is read in the FIFO full or FIFO empty state when the conditions listed
in table 8.7 are satisfied, the read values may not be correct. When DATAN or FREEN is read
as 0, whether the FIFO is full or empty needs to be checked by using the FULL and EMPTY
bits in DTSTRC.
Table 8.7
DATAN/FREEN Read Value
Pointer Mode
Condition
DATAN/FREEN Read Value
Write until the FIFO is full and request
a mark (when TMP = RAR)
DATAN = 0 even though the
FIFO is full
Write temporary
pointer
Read until the FIFO is empty (when
WAR = RAR)
FREEN = 0 even though the
FIFO is empty
Write until the FIFO is full (when WAR
= RAR)
DATAN = 0 even though the
FIFO is full
Read temporary
pointer
Read until the FIFO is empty and
request a mark (when TMP = WAR)
FREEN = 0 even though the
FIFO is empty
Write until the FIFO is full
DATAN = 0 even though the
FIFO is full
Temporary pointer
not used
Read until the FIFO is empty
FREEN = 0 even though the
FIFO is empty
4. RFU operation in medium-speed mode
This LSI does not support medium-speed mode operation of the RFU. When using the RFU in
medium-speed mode, the DTSPEED bit in SBYCR must be set to 1. If the RFU is activated
with the DTSPEED bit cleared to 0, the program may get out of control.
Содержание H8S/2158
Страница 10: ...Rev 3 00 Jan 25 2006 page viii of lii...
Страница 36: ...Rev 3 00 Jan 25 2006 page xxxiv of lii B Product Lineup 863 C Package Dimensions 864 Index 865...
Страница 47: ...Rev 3 00 Jan 25 2006 page xlv of lii Appendix Figure C 1 Package Dimensions TBP 112A 864...
Страница 54: ...Rev 3 00 Jan 25 2006 page lii of lii...
Страница 70: ...Section 1 Overview Rev 3 00 Jan 25 2006 page 16 of 872 REJ09B0286 0300...
Страница 118: ...Section 3 MCU Operating Modes Rev 3 00 Jan 25 2006 page 64 of 872 REJ09B0286 0300...
Страница 126: ...Section 4 Exception Handling Rev 3 00 Jan 25 2006 page 72 of 872 REJ09B0286 0300...
Страница 198: ...Section 6 Bus Controller Rev 3 00 Jan 25 2006 page 144 of 872 REJ09B0286 0300...
Страница 326: ...Section 10 8 Bit PWM Timer PWM Rev 3 00 Jan 25 2006 page 272 of 872 REJ09B0286 0300...
Страница 440: ...Section 15 Watchdog Timer WDT Rev 3 00 Jan 25 2006 page 386 of 872 REJ09B0286 0300...
Страница 606: ...Section 17 I 2 C Bus Interface IIC Rev 3 00 Jan 25 2006 page 552 of 872 REJ09B0286 0300...
Страница 742: ...Section 19 Multimedia Card Interface MCIF Rev 3 00 Jan 25 2006 page 688 of 872 REJ09B0286 0300...
Страница 744: ...Section 20 Encryption Operation Circuit DES and GF Rev 3 00 Jan 25 2006 page 690 of 872 REJ09B0286 0300...
Страница 750: ...Section 21 D A Converter Rev 3 00 Jan 25 2006 page 696 of 872 REJ09B0286 0300...
Страница 768: ...Section 22 A D Converter Rev 3 00 Jan 25 2006 page 714 of 872 REJ09B0286 0300...
Страница 770: ...Section 23 RAM Rev 3 00 Jan 25 2006 page 716 of 872 REJ09B0286 0300...
Страница 824: ...Section 26 Clock Pulse Generator Rev 3 00 Jan 25 2006 page 770 of 872 REJ09B0286 0300...
Страница 844: ...Section 27 Power Down Modes Rev 3 00 Jan 25 2006 page 790 of 872 REJ09B0286 0300...
Страница 878: ...Section 28 List of Registers Rev 3 00 Jan 25 2006 page 824 of 872 REJ09B0286 0300...
Страница 926: ...Index Rev 3 00 Jan 25 2006 page 872 of 872 REJ09B0286 0300...