SH7751 Group, SH7751R Group
Section 22 PCI Controller (PCIC)
R01UH0457EJ0301 Rev. 3.01
Page 931 of 1128
Sep 24, 2013
22.3.4
Local Register Access
Only longword (32-bit) access of the PCIC's internal local registers and configuration registers
from the CPU is supported.
(It is possible to use PIO transfers to perform byte, word, and longword access of the memory
space and I/O space on the PCI bus.)
If an attempt is made to access these registers using other than the prescribed access size, zero is
returned when reading and writing is ignored. The same is true if you attempt to access the
reserved areas in the register area in the PCIC.
Some of the configuration registers and local registers can be accessed both from the CPU and
from the PCI device(s). Therefore, arbitration is performed for both types of access and either the
CPU or PCI device access made to wait according to the access timing.
In the read bus cycle from the CPU, the internal bus cycle for the peripheral module is made to
wait until the data is actually ready. In the write bus cycle, the bus cycle of the internal bus for
peripheral modules ends with the data having been written to the interface (register located
immediately after the PCIC input) register on the internal bus for peripheral modules, but the data
is not actually written to the local register(s) or PCI bus until the following clock cycle. If it is
necessary to check that the data has actually been written, read the register to which the data was
to have been written. This is because the read cycle must be after the write cycle has completed.
When accessing from a PCI device, the PCI bus cycle is caused to wait until the read or write
operation has actually completed.
The internal bus for peripheral modules used for read/write operations from the CPU operates only
with big endians.
22.3.5
Host Functions
The PCIC has the following PCI bus host functions (host devices):
•
Inter-PCI device arbitration function
•
Configuration register access function
•
Special cycle generation function
•
Reset output function
•
Clock output function