Set Configuration Space; Pci Clock - Toshiba TMPR4937 Manual

64-bit tx system risc
Table of Contents

Advertisement

10.3.14 Set Configuration Space

In Table 10.5.1, the values for the registers inside the PCI Configuration Space Register that have a
gray background can be rewritten using one of the two following methods.
10.3.14.1 Set the Configuration Space Using EEPROM
Load values during Reset by connecting standard 93C46/93C48 EEPROM to a dedicated port.
The PCI Controller reads 16-bit half-word data for address 2n (n: 0, 1, 2, ..., 31) of the PCI
Configuration Space from EEPROM address (2n + 2 - 4(n mod 2)). Also, 16-bit data is read in
order from the upper bits to the lower bits. The EEPROM values that correspond to the registers in
Table 10.5.1 that have a white background are "don't care".
10.3.14.2 Set the Configuration Space Using Software Reset
By using the following procedure, it is possible to use the software to set the configuration
space without using EEPROM.
(1) Set the value to be loaded in the Configuration Data 0 Register (PCICDATA0), the
Configuration Data 1 Register (PCICDATA1), the Configuration Data 2 Register
(PCICDATA2), and the Configuration Data 3 Register (PCICDATA3).
(2) Set the Load Configuration Data Register bit (LCFG) of the PCI Controller Configuration
Register (PCICCFG) and the Software Reset bit (SRST).
(3) Clear the Software Reset bit (PCICCFG.SRST) at least four PCI Bus clock cycles later. This
starts loading the data.
After these processes are complete, please set the Target Configuration Access Ready bit
(PCICCFG.TCAR) of the PCI Controller Configuration Register to be able to accept access to the
PCI Configuration space.

10.3.15 PCI Clock

The PCI bus signals are synchronized by the PCI clock applied to the PCICLKIN pin. Therefore, in
PCI clock output mode, the PCI output clock must be connected to the PCICLKIN pin.
Chapter 10 PCI Controller
10-23

Advertisement

Table of Contents
loading

This manual is also suitable for:

Tmpr4937xbg-333

Table of Contents