English
Language : 

SH7146 Datasheet, PDF (277/1022 Pages) Renesas Technology Corp – 32-Bit RISC Microcomputer SuperH™ RISC engine Family
Section 9 Bus State Controller (BSC)
9.5.8 Access to On-Chip FLASH and On-Chip RAM by CPU
Access to the on-chip FLASH for read is synchronized with Iφ clock and is executed in one clock
cycle. For details on programming and erasing, see section 19, Flash Memory.
Access to the on-chip RAM for read/write is synchronized with Iφ clock and is executed in one
clock cycle. For details, see section 21, RAM.
9.5.9 Access to On-Chip Peripheral I/O Registers by CPU
Table 9.10 shows the number of cycles required for access to the on-chip peripheral I/O registers
by the CPU.
Table 9.10 Number of Cycles for Access to On-Chip Peripheral I/O Registers
Write
Read
Number of Access Cycles
(3 + n) × Iφ + (1 + m) × Bφ + 2 × Pφ
(3 + n) × Iφ + (1 + m) × Bφ + 2 × Pφ + 2 × Iφ
Notes: 1. When Iφ:Bφ = 8:1, n = 0 to 7
When Iφ:Bφ = 4:1, n = 0 to 3
When Bφ:Pφ = 4:1, m = 0 to 3
When Iφ:Bφ = 3:1, n = 0 to 2
When Bφ:Pφ = 3:1, m = 0 to 2
When Iφ:Bφ = 2:1, n = 0 to 1.
When Bφ:Pφ = 2:1, m = 0 to 1.
When Iφ:Bφ = 1:1, n = 0.
When Bφ:Pφ = 1:1, m = 0
n and m depend on the internal execution state.
2. The clock ratio of MIφ and MPφ does not affect the number of access cycles.
Synchronous logic and a layered bus structure have been adopted for this LSI. Data on each bus
are input and output in synchronization with rising edges of the corresponding clock signal. The L
bus, I bus, and peripheral bus are synchronized with the Iφ, Bφ, and Pφ clock, respectively. Figure
9.12 shows an example of the timing of write access to a register in 2Pφ cycle access with the
connected peripheral bus width of 16 bits when Iφ:Bφ:Pφ = 4:2:2. In access to the on-chip
peripheral I/O registers, the CPU requires three cycles of Iφ for preparation of data transfer to the I
bus after the data has been output to the L bus. After these three cycles, data can be transferred to
the I bus in synchronization with rising edges of Bφ. However, as there are two Iφ clock cycles in
Rev. 3.00 May 17, 2007 Page 233 of 974
REJ09B0229-0300