TMS320TCI6618

Communications Infrastructure KeyStone SoC

www.ti.com

SPRS688—February 2011

 

7.7 Reset Controller

The reset controller detects the different type of resets supported on the TMS320TCI6618 device and manages the distribution of those resets throughout the device.

The device has the following types of resets:

Power-on Reset

Hard Reset

Soft Reset

Local Reset

Table 7-43 explains further the types of reset, the reset initiator, and the effects of each reset on the device. For more information on the effects of each reset on the PLL controllers and their clocks, see Section 7.7.7 ‘‘Reset Electrical Data/Timing’’ on page 153.

Table 7-43

Reset Types

 

 

 

 

 

 

 

 

 

 

Type

 

 

 

 

 

Initiator

Effect(s)

 

 

 

 

pin

Resets the entire chip including the test and emulation logic. The device configuration pins are

Power-on Reset

 

 

POR

 

 

 

 

 

 

 

latched only during Power-on Reset.

 

 

RESETFULL pin

 

 

 

 

 

 

 

 

 

 

 

 

Hard Reset resets everything except for test, emulation logic and reset isolation modules. This

 

 

 

 

pin

reset is also different from Power-on Reset in that the PLLCTL assumes power and clocks are stable

 

 

 

RESET

 

 

 

PLLCTL (1) register (RSCTRL)

when Hard Reset is asserted. The device configurations pins are not re-latched.

Hard Reset

 

 

Emulation initiated reset is always a Hard Reset.

 

 

Watchdog timers

 

 

 

By default these initiators are configured as Hard reset, but can be configured (Except Emulation)

 

 

 

Emulation

 

 

 

as Soft reset in the RSCFG register of PLLCTL. Contents of DDR3 SDRAM memory can be retained

 

 

 

 

 

 

 

 

during a Hard Reset if the SDRAM is placed in self-refresh mode.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Soft Reset will behave like Hard Reset except that PCIe MMRs and DDR3 EMIF MMRs contents are

 

 

 

RESET pin

 

 

 

retained.

 

 

 

 

 

 

 

 

Soft Reset

 

 

PLLCTL register (RSCTRL)

By default these initiators are configured as Hard reset, but can be configured as Soft reset in the

 

 

 

Watchdog timers

RSCFG register of PLLCTL. Contents of DDR3 SDRAM memory can be retained during a Soft Reset if

 

 

 

the SDRAM is placed in self-refresh mode.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Local Reset

 

 

 

 

 

pin

Resets the CorePac, without destroying clock alignment or memory contents. The device

LRESET

 

 

 

Watchdog timer timeout

configuration pins are not re-latched.

 

 

 

 

 

 

 

LPSC MMRs

 

 

 

 

End of Table 7-43

 

 

 

 

 

 

 

 

 

 

1 All masters in the device have access to the PLLCTL registers.

7.7.1 Power-on Reset

Power-on reset is used to reset the entire device, including the test and emulation logic.

Power-on reset is initiated by the following

1.POR pin

2.RESETFULL pin

During power-up, the POR pin must be asserted (driven low) until the power supplies have reached their normal operating conditions. A RESETFULL pin is also provided to allow the on-board host to reset the entire device including the reset isolated logic. The assumption is that, device is already powered up and hence unlike POR, RESETFULL pin will be driven by the on-board host control other than the power good circuitry. For power-on reset, the Main PLL controller comes up in bypass mode and the PLL is not enabled. Other resets do not affect the state of the PLL or the dividers in the PLL controller.

ADVANCE INFORMATION

Copyright 2011 Texas Instruments Incorporated

149

INFORMATION ADVANCE

TMS320TCI6618

Communications Infrastructure KeyStone SoC

SPRS688—February 2011

www.ti.com

 

The following sequence must be followed during a power-on reset:

1.Wait for all power supplies to reach normal operating conditions while keeping the POR pin asserted (driven low). While POR is asserted, all pins except RESETSTAT will be set to high-impedance. After the POR pin is de-asserted (driven high), all Z group pins, low group pins, and high group pins are set to their reset state and will remain at their reset state until otherwise configured by their respective peripheral. All peripherals that are power managed, are disabled after a Power-on Reset and must be enabled through the Device State Control registers (for more details, see Section Table 3-2 ‘‘Device State Control Registers’’ on page 61).

2.Clocks are reset, and they are propagated throughout the chip to reset any logic that was using reset synchronously. All logic is now reset and RESETSTAT will be driven low indicating that the device is in reset.

3.POR must be held active until all supplies on the board are stable then for at least an additional time for the Chip level PLLs to lock.

4.The POR pin can now be de-asserted. Reset sampled pin values are latched at this point. The Chip level PLLs is taken out of reset and begins its locking sequence, and all power-on device initialization also begins.

5.After device initialization is complete, the RESETSTAT pin is de-asserted (driven high). By this time, DDR3 PLL has already completed its locking sequence and is outputting a valid clock. The system clocks of both PLL controllers are allowed to finish their current cycles and then paused for 10 cycles of their respective system reference clocks. After the pause, the system clocks are restarted at their default divide by settings.

6.The device is now out of reset and device execution begins as dictated by the selected boot mode.

Note—To most of the device, reset is de-asserted only when the POR and RESET pins are both de-asserted (driven high). Therefore, in the sequence described above, if the RESET pin is held low past the low period of the POR pin, most of the device will remain in reset. The RESET pin should not be tied together with the POR pin.

7.7.2 Hard Reset

A Hard reset will reset everything on the device except the PLLs, test, emulation logic, and reset isolation modules.

POR should also remain de-asserted during this time.

Hard reset is initiated by the following:

RESET pin

RSCTRL register in PLLCTL

Watchdog Timer

Emulation

All the above initiators by default are configured to act as Hard reset. Except Emulation all the other 3 initiators can be configured as Soft resets in the RSCFG register in PLLCTL.

The following sequence must be followed during a Hard reset:

1.The RESET pin is pulled active low for a minimum of 24 CLKIN1 cycles. During this time the RESET signal is able to propagate to all modules (except those specifically mentioned above). All I/O are Hi-Z for modules affected by RESET, to prevent off-chip contention during the warm reset.

2.Once all logic is reset, RESETSTAT is driven active to denote that the device is in reset.

3.The RESET pin can now be released. A minimal device initialization begins to occur. Note that configuration pins are not re-latched and clocking is unaffected within the device.

4.After device initialization is complete, the RESETSTAT pin is de-asserted (driven high).

Note—The POR pin should be held inactive (high) throughout the warm reset sequence. Otherwise, if POR is activated (brought low), the minimum POR pulse width must be met. The RESET pin should not be tied together with the POR pin.

150

Copyright 2011 Texas Instruments Incorporated

TMS320TCI6618

Communications Infrastructure KeyStone SoC

www.ti.com

SPRS688—February 2011

 

7.7.3 Soft Reset

A soft reset will behave like a hard reset except that the PCIe MMRs and DDR3 EMIF MMRs contents are retained. POR should also remain de-asserted during this time.

Soft reset is initiated by the following

RESET pin

RSCTRL register in PLLCTL

Watchdog Timer

Emulation

All the above initiators by default are configured to act as Hard reset. Except Emulation all the other 3 initiators can be configured as Soft resets in the RSCFG register in PLLCTL.

In the case of a soft reset, the clock logic or the power control logic of the peripherals are not affected, and, therefore, the enabled/disabled state of the peripherals is not affected. The following external memory contents are maintained during a soft reset:

DDR3 MMRs: The DDR3 memory controller registers are not reset. In addition, the DDR3 SDRAM memory content is retained if the user places the DDR3 SDRAM in self-refresh mode before invoking the soft reset.

PCIe MMRs: The contents of the memory connected to the EMIFA are retained. The EMIFA registers are not reset.

During a soft reset, the following happens:

1.The RESETSTAT pin goes low to indicate an internal reset is being generated. The reset is allowed to propagate through the system. Internal system clocks are not affected. PLLs also remain locked.

2.After device initialization is complete, the RESETSTAT pin is deasserted (driven high). In addition, the PLL controllers pause their system clocks for about 8 cycles.

At this point:

The state of the peripherals before the soft reset is not changed.

The I/O pins are controlled as dictated by the DEVSTAT register.

The DDR3 MMRs and PCIe MMRs retain their previous values. Only the DDR3 Memory Controller and PCIe state machines are reset by the soft reset.

The PLL controllers are operating in the mode prior to soft reset. System clocks are unaffected.

The boot sequence is started after the system clocks are restarted. Since the configuration pins are not latched with a System Reset, the previous values, as shown in the DEVSTAT register, are used to select the boot mode.

ADVANCE INFORMATION

Copyright 2011 Texas Instruments Incorporated

151

INFORMATION ADVANCE

TMS320TCI6618

Communications Infrastructure KeyStone SoC

SPRS688—February 2011

www.ti.com

 

7.7.4 Local Reset

The local reset can be used to reset a particular CorePac without resetting any other chip components.

Local reset is initiated by the following (for more details see the Phase Locked Loop (PLL) Controller for KeyStone Devices User Guide in ‘‘Related Documentation from Texas Instruments’’ on page 59):

LRESET pin

Watchdog Timer should cause one of the below based on the setting of the CORESEL[2:0] and RSTCFG registers in the PLL controller. See ‘‘Reset Configuration Register (RSTCFG)’’ on page 163 and ‘‘INTC Registers’’ on page 124.

Local Reset

NMI

NMI followed by a time delay and then a local reset for the core selected

Hard Reset by requesting reset via PLLCTL

LPSC MMRs

7.7.5 Reset Priority

If any of the above reset sources occur simultaneously, the PLLCTL processes only the highest priority reset request. The reset request priorities are as follows (high to low):

Power-on reset

Hard/Soft reset

7.7.6 Reset Controller Register

The reset controller register are part of the PLLCTL MMRs. All TCI6618 device-specific MMRs are covered in Section 7.8.2 ‘‘PLL Controller Memory Map’’ on page 157. For more details on these registers and how to program them, see the Phase Locked Loop (PLL) Controller for KeyStone Devices User Guide in ‘‘Related Documentation from Texas Instruments’’ on page 59.

152

Copyright 2011 Texas Instruments Incorporated

Соседние файлы в папке MAZ-DOD-MAT-2012