Texas Instruments TMS320F2812 datasheet: 8.12.5.4.3 STANDBY Mode Timing Requirements

Published by Texas Instruments · pages 44–68 of 174 · Original PDF

20 discussions about the Texas Instruments TMS320F2812

All 7 parts of the datasheet

8.12.5.4.3 STANDBY Mode Timing Requirements

MIN MAX UNIT
tW(WAKE-INT) Pulse duration, external wake-up signal Without input qualifier 12tc(Cl) cycles
With input qualifier (2 + QUALSTDBY) * tc(Cl) (1)

(1) QUALSTDBY is a 6-bit field in the LPMCR0 register.

8.12.5.4.4 STANDBY Mode Switching Characteristics

PARAMETER TEST CONDITIONS MIN MAX UNIT
td(IDLE-XCOH) Delay time, IDLE instruction executed to XCLKOUT high 32tc(SCO) 45tc(SCO) cycles
td(WAKE-STBY) Delay time, external wake signal to program execution resume(1)
• Wake-up from Flash– Flash module in active state Without input qualifier 12tc(Cl) cycles
With input qualifier 12tc(Cl) + tW(WAKE-INT)
• Wake-up from Flash– Flash module in sleep state Without input qualifier 1125tc(SCO) cycles
With input qualifier 1125tc(SCO) + tW(WAKE-INT)
• Wake-up from SARAM Without input qualifier 12tc(Cl) cycles
With input qualifier 12tc(Cl) + tW(WAKE-INT)

(1) This is the time taken to begin execution of the instruction that immediately follows the IDLE instruction. Execution of an ISR (triggered by the wake-up) signal involves additional latency.

Figure from the manual

TEXAS INSTRUMENTS www.ti.com

TMS320F2812, TMS320F2812-Q1 SPRS174V – APRIL 2001 – REVISED FEBRUARY 2021

Figure from the manual

A. IDLE instruction is executed to put the device into STANDBY mode. B. The PLL block responds to the STANDBY signal. SYSCLKOUT is held for the number of cycles indicated below before being turned off: * 16 cycles, when DIVSEL = 00 or 01 * 32 cycles, when DIVSEL = 10 * 64 cycles, when DIVSEL = 11

This delay enables the CPU pipeline and any other pending operations to flush properly. If an access to XINTF is in progress and its access time is longer than this number, then it will fail. It is recommended that STANDBY mode be entered from SARAM without an XINTF access in progress. C. Clocks to the peripherals are turned off. However, the PLL and watchdog are not shut down. The device is now in STANDBY mode. D. The external wake-up signal is driven active. E. After a latency period, the STANDBY mode is exited. F. Normal execution resumes. The device will respond to the interrupt (if enabled).

Figure 8-20. STANDBY Entry and Exit Timing

Copyright © 2021 Texas Instruments Incorporated Submit Document Feedback 45 Product Folder Links: TMS320F2810 TMS320F2810-Q1 TMS320F2811 TMS320F2811-Q1 TMS320F2812 TMS320F2812-Q1

8.12.5.4.5 HALT Mode Timing Requirements

MIN MAX UNIT
tw(WAKE-XNMI) Pulse duration, XNMI wakeup signal 2tc(Cl) cycles
tw(WAKE-XRS) Pulse duration, \overlineXRS wakeup signal 8tc(Cl) cycles

8.12.5.4.6 HALT Mode Switching Characteristics

PARAMETER MIN TYP MAX UNIT
td(IDLE-XCOH) Delay time, IDLE instruction executed to XCLKOUT high 32tc(SCO) 45tc(SCO) cycles
tp PLL lock-up time 131072tc(Cl) cycles
td(WAKE) Delay time, PLL lock to program execution resume
• Wake up from flash– Flash module in sleep state 1125tc(SCO) cycles
• Wake up from SARAM 35tc(SCO) cycles

Figure from the manual

A. IDLE instruction is executed to put the device into HALT mode. B. The PLL block responds to the HALT signal. SYSCLKOUT is held for another 32 cycles before the oscillator is turned off and the CLKIN to the core is stopped. This 32-cycle delay enables the CPU pipe and any other pending operations to flush properly. C. Clocks to the peripherals are turned off and the internal oscillator and PLL are shut down. The device is now in HALT mode and consumes absolute minimum power. D. When XNMI is driven active, the oscillator is turned on; but the PLL is not activated. The pulse duration of 2tc(Cl) is applicable when an external oscillator is used. If the internal oscillator is used, the oscillator wake-up time should be added to this parameter. E. When XNMI is deactivated, it initiates the PLL lock sequence, which takes 131,072 X1/XCLKIN cycles. F. When CLKIN to the core is enabled, the device will respond to the interrupt (if enabled), after a latency. The HALT mode is now exited. G. Normal operation resumes. H. XCLKOUT = SYSCLKOUT

Figure 8-21. HALT Wakeup Using XNMI

Figure from the manual

8.12.5.5 Serial Peripheral Interface (SPI) Master Mode Timing

Section 8.12.5.5.1 lists the master mode timing (clock phase = 0) and Section 8.12.5.5.2 lists the master mode timing (clock phase = 1). Figure 8-22 and Figure 8-23 show the timing waveforms.

8.12.5.5.1 SPI Master Mode External Timing (Clock Phase = 0)

NO. (1) (2) (3) (4) (5) PARAMETER BRR EVEN BRR ODD UNIT
MIN MAX MIN MAX
1 tc(SPC)M Cycle time, SPICLK 4tc(LSPCLK) 128tc(LSPCLK) 5tc(LSPCLK) 127tc(LSPCLK) ns
2 tw(SPC1)M Pulse duration, SPICLK first pulse 0.5tc(SPC)M – 10 0.5tc(SPC)M + 10 0.5tc(SPC)M + 0.5tc(LSPCLK) – 10 0.5tc(SPC)M + 0.5tc(LSPCLK) + 10 ns
3 tw(SPC2)M Pulse duration, SPICLK second pulse 0.5tc(SPC)M – 10 0.5tc(SPC)M + 10 0.5tc(SPC)M – 0.5tc(LSPCLK) – 10 0.5tc(SPC)M – 0.5tc(LSPCLK) + 10 ns
4 td(SIMO)M Delay time, SPICLK to SPISIMO valid 10 10 ns
5 tv(SIMO)M Valid time, SPISIMO valid after SPICLK 0.5tc(SPC)M – 10 0.5tc(SPC)M – 0.5tc(LSPCLK) – 10 ns
8 tsu(SOMI)M Setup time, SPISOMI before SPICLK 35 35 ns
9 th(SOMI)M Hold time, SPISOMI valid after SPICLK 0 0 ns
23 td(SPC)M Delay time, SPISTE active to SPICLK 1.5tc(SPC)M – 3tc(SYSCLK) – 10 1.5tc(SPC)M – 3tc(SYSCLK) – 10 ns
24 td(STE)M Delay time, SPICLK to SPISTE inactive 0.5tc(SPC)M – 10 0.5tc(SPC)M – 0.5tc(LSPCLK) – 10 ns

(1) The MASTER / SLAVE bit (SPICTL.2) is set and the CLOCK PHASE bit (SPICTL.3) is cleared.

(2) tc(SPC) = SPI clock cycle time = LSPCLK/4 or LSPCLK/(SPIBRR +1)

(3) tc(LCO) = LSPCLK cycle time

(4) Internal clock prescalers must be adjusted such that the SPI clock speed is limited to the following SPI clock rate: Master mode transmit 25-MHz MAX, master mode receive 12.5-MHz MAX Slave mode transmit 12.5-MAX, slave mode receive 12.5-MHz MAX.

(5) The active edge of the SPICLK signal referenced is controlled by the clock polarity bit (SPICCR.6).

Figure from the manual

Figure 8-22. SPI Master Mode External Timing (Clock Phase = 0)

48 Submit Document Feedback Copyright © 2021 Texas Instruments Incorporated Product Folder Links: TMS320F2810 TMS320F2810-Q1 TMS320F2811 TMS320F2811-Q1 TMS320F2812 TMS320F2812-Q1

8.12.5.5.2 SPI Master Mode External Timing (Clock Phase = 1)

NO. (1) (2) (3) (4) (5) PARAMETER BRR EVEN BRR ODD UNIT
MIN MAX MIN MAX
1 tc(SPC)M Cycle time, SPICLK 4tc(LSPCLK) 128tc(LSPCLK) 5tc(LSPCLK) 127tc(LSPCLK) ns
2 tw(SPC1)M Pulse duration, SPICLK first pulse 0.5tc(SPC)M – 10 0.5tc(SPC)M + 10 0.5tc(SPC)M – 0.5tc(LSPCLK) – 10 0.5tc(SPC)M – 0.5tc(LSPCLK) + 10 ns
3 tw(SPC2)M Pulse duration, SPICLK second pulse 0.5tc(SPC)M – 10 0.5tc(SPC)M + 10 0.5tc(SPC)M + 0.5tc(LSPCLK) – 10 0.5tc(SPC)M + 0.5tc(LSPCLK) + 10 ns
6 td(SIMO)M Delay time, SPISIMO valid to SPICLK 0.5tc(SPC)M – 10 0.5tc(SPC)M + 0.5tc(LSPCLK) – 10 ns
7 tv(SIMO)M Valid time, SPISIMO valid after SPICLK 0.5tc(SPC)M – 10 0.5tc(SPC)M – 0.5tc(LSPCLK) – 10 ns
10 tsu(SOMI)M Setup time, SPISOMI before SPICLK 35 35 ns
11 th(SOMI)M Hold time, SPISOMI valid after SPICLK 0 0 ns
23 td(SPC)M Delay time, SPISTE active to SPICLK 2tc(SPC)M – 3tc(SYSCLK) – 10 2tc(SPC)M – 3tc(SYSCLK) – 10 ns
24 td(STE)M Delay time, SPICLK to SPISTE inactive 0.5tc(SPC) – 10 0.5tc(SPC) – 0.5tc(LSPCLK) – 10 ns

(1) The MASTER/SLAVE bit (SPICTL.2) is set and the CLOCK PHASE bit (SPICTL.3) is set.

(2) tc(SPC) = SPI clock cycle time = LSPCLK/4 or LSPCLK/(SPIBRR + 1)

(3) Internal clock prescalers must be adjusted such that the SPI clock speed is limited to the following SPI clock rate: Master mode transmit 25 MHz MAX, master mode receive 12.5 MHz MAX Slave mode transmit 12.5 MHz MAX, slave mode receive 12.5 MHz MAX.

(4) tc(LCO) = LSPCLK cycle time

(5) The active edge of the SPICLK signal referenced is controlled by the CLOCK POLARITY bit (SPICCR.6).

Figure from the manual

Figure 8-23. SPI Master Mode External Timing (Clock Phase = 1)

Figure from the manual

8.12.5.6 Serial Peripheral Interface (SPI) Slave Mode Timing

Section 8.12.5.6.1 lists the slave mode timing (clock phase = 0) and Section 8.12.5.6.2 lists the slave mode timing (clock phase = 1). Figure 8-24 and Figure 8-25 show the timing waveforms.

8.12.5.6.1 SPI Slave Mode External Timing (Clock Phase = 0)

NO. (1) (2) (4) (3) (5) PARAMETER MIN MAX UNIT
12 tc(SPC)S Cycle time, SPICLK 4tc(SYSCLK) ns
13 tw(SPC1)S Pulse duration, SPICLK first pulse 2tc(SYSCLK) – 1 ns
14 tw(SPC2)S Pulse duration, SPICLK second pulse 2tc(SYSCLK) – 1 ns
15 td(SOMI)S Delay time, SPICLK to SPISOMI valid 35 ns
16 tv(SOMI)S Valid time, SPISOMI data valid after SPICLK 0 ns
19 tsu(SIMO)S Setup time, SPISIMO valid before SPICLK 1.5tc(SYSCLK) ns
20 th(SIMO)S Hold time, SPISIMO data valid after SPICLK 1.5tc(SYSCLK) ns
25 tsu(STE)S Setup time, SPISTE active before SPICLK 1.5tc(SYSCLK) ns
26 th(STE)S Hold time, SPISTE inactive after SPICLK 1.5tc(SYSCLK) ns

(1) The MASTER / SLAVE bit (SPICTL.2) is cleared and the CLOCK PHASE bit (SPICTL.3) is cleared.

(2) tc(SPC) = SPI clock cycle time = LSPCLK/4 or LSPCLK/(SPIBRR + 1)

(3) tc(LCO) = LSPCLK cycle time

(4) Internal clock prescalers must be adjusted such that the SPI clock speed is limited to the following SPI clock rate: Master mode transmit 25-MHz MAX, master mode receive 12.5-MHz MAX Slave mode transmit 12.5-MHz MAX, slave mode receive 12.5-MHz MAX.

(5) The active edge of the SPICLK signal referenced is controlled by the CLOCK POLARITY bit (SPICCR.6).

Figure from the manual

Figure 8-24. SPI Slave Mode External Timing (Clock Phase = 0)

Figure from the manual

8.12.5.6.2 SPI Slave Mode External Timing (Clock Phase = 1)

NO. PARAMETER MIN MAX UNIT
(1) (2)(3) (4)
12 tc(SPC)S Cycle time, SPICLK 4tc(SYSCLK) ns
13 tw(SPC1)S Pulse duration, SPICLK first pulse 2tc(SYSCLK) – 1 ns
14 tw(SPC2)S Pulse duration, SPICLK second pulse 2tc(SYSCLK) – 1 ns
17 td(SOMI)S Delay time, SPICLK to SPISOMI valid 35 ns
18 tv(SOMI)S Valid time, SPISOMI data valid after SPICLK 0 ns
21 tsu(SIMO)S Setup time, SPISIMO valid before SPICLK 1.5tc(SYSCLK) ns
22 th(SIMO)S Hold time, SPISIMO data valid after SPICLK 1.5tc(SYSCLK) ns
25 tsu(STE)S Setup time, SPISTE active before SPICLK 1.5tc(SYSCLK) ns
26 th(STE)S Hold time, SPISTE inactive after SPICLK 1.5tc(SYSCLK) ns

(1) The MASTER / SLAVE bit (SPICTL.2) is cleared and the CLOCK PHASE bit (SPICTL.3) is cleared.

(2) tc(SPC) = SPI clock cycle time = LSPCLK/4 or LSPCLK/(SPIBRR + 1)

(3) Internal clock prescalers must be adjusted such that the SPI clock speed is limited to the following SPI clock rate:

Master mode transmit 25-MHz MAX, master mode receive 12.5-MHz MAX

Slave mode transmit 12.5-MHz MAX, slave mode receive 12.5-MHz MAX.

(4) The active edge of the SPICLK signal referenced is controlled by the CLOCK POLARITY bit (SPICCR.6).

Figure from the manual

Figure 8-25. SPI Slave Mode External Timing (Clock Phase = 1)

Figure from the manual

8.12.5.7 External Interface (XINTF) Timing

Each XINTF access consists of three parts: Lead, Active, and Trail. The user configures the Lead/Active/Trail wait states in the XTIMING registers. There is one XTIMING register for each XINTF zone. Table 8-3 shows the relationship between the parameters configured in the XTIMING register and the duration of the pulse in terms of XTIMCLK cycles.

Table 8-3. Relationship Between Parameters Configured in XTIMING and Duration of Pulse

DESCRIPTION(1) (2) DURATION (ns)
X2TIMING = 0 X2TIMING = 1
LR Lead period, read access XRDLEAD × tc(XTIM) (XRDLEAD × 2) × tc(XTIM)
AR Active period, read access (XRDACTIVE + WS + 1) × tc(XTIM) (XRDACTIVE × 2 + WS + 1) × tc(XTIM)
TR Trail period, read access XRDTRAIL × tc(XTIM) (XRDTRAIL × 2) × tc(XTIM)
LW Lead period, write access XWRLEAD × tc(XTIM) (XWRLEAD × 2) × tc(XTIM)
AW Active period, write access (XWRACTIVE + WS + 1) × tc(XTIM) (XWRACTIVE × 2 + WS + 1) × tc(XTIM)
TW Trail period, write access XWRTRAIL × tc(XTIM) (XWRTRAIL × 2) × tc(XTIM)

(1) tc(XTIM) – Cycle time, XTIMCLK

(2) WS refers to the number of wait states inserted by hardware when using XREADY. If the zone is configured to ignore XREADY (USEREADY = 0), then WS = 0.

Minimum wait state requirements must be met when configuring each zone’s XTIMING register. These requirements are in addition to any timing requirements as specified by that device’s data sheet. No internal device hardware is included to detect illegal settings.

8.12.5.7.1 USEREADY = 0

If the XREADY signal is ignored (USEREADY = 0), then:

  1. Lead: LR ≥ tc(XTIM) LW ≥ tc(XTIM)

These requirements result in the following XTIMING register configuration restrictions (no hardware to detect illegal XTIMING configurations):

XRDLEAD XRDACTIVE XRDTRAIL XWRLEAD XWRACTIVE XWRTRAIL X2TIMING
≥ 1 ≥ 0 ≥ 0 ≥ 1 ≥ 0 ≥ 0 0, 1

Examples of valid and invalid timing when not sampling XREADY (no hardware to detect illegal XTIMING configurations):

XRDLEAD XRDACTIVE XRDTRAIL XWRLEAD XWRACTIVE XWRTRAIL X2TIMING
Invalid 0 0 0 0 0 0 0, 1
Valid 1 0 0 1 0 0 0, 1

TMS320F2810, TMS320F2810-Q1, TMS320F2811, TMS320F2811-Q1 TMS320F2812, TMS320F2812-Q1

www.ti.com SPRS174V – APRIL 2001 – REVISED FEBRUARY 2021

8.12.5.7.2 Synchronous Mode (USEREADY = 1, READYMODE = 0)

If the XREADY signal is sampled in the synchronous mode (USEREADY = 1, READYMODE = 0), then:

  1. Lead: LR ≥ t${c(XTIM)}$ LW ≥ t${c(XTIM)}$
  2. Active: AR ≥ 2 × t${c(XTIM)}$ AW ≥ 2 × t${c(XTIM)}$

NOTE: Restriction does not include external hardware wait states.

These requirements result in the following XTIMING register configuration restrictions (no hardware to detect illegal XTIMING configurations):

Examples of valid and invalid timing when using synchronous XREADY (no hardware to detect illegal XTIMING configurations):

8.12.5.7.3 Asynchronous Mode (USEREADY = 1, READYMODE = 1)

If the XREADY signal is sampled in the asynchronous mode (USEREADY = 1, READYMODE = 1), then:

  1. Lead:

    • LR ≥ tc(XTIM)
    • LW ≥ tc(XTIM)
  2. Active:

    • AR ≥ 2 × tc(XTIM)
    • AW ≥ 2 × tc(XTIM)

    NOTE: Restriction does not include external hardware wait states

  3. Lead + Active:

    • LR + AR ≥ 4 × tc(XTIM)
    • LW + AW ≥ 4 × tc(XTIM)

    NOTE: Restriction does not include external hardware wait states

These requirements result in the following XTIMING register configuration restrictions (no hardware to detect illegal XTIMING configurations):

XRDLEAD XRDACTIVE XRDTRAIL XWRLEAD XWRACTIVE XWRTRAIL X2TIMING
≥ 1 ≥ 2 0 ≥ 1 ≥ 2 0 0, 1

or (no hardware to detect illegal XTIMING configurations):

XRDLEAD XRDACTIVE XRDTRAIL XWRLEAD XWRACTIVE XWRTRAIL X2TIMING
≥ 2 ≥ 2 0 ≥ 2 ≥ 2 0 0, 1

Examples of valid and invalid timing when using asynchronous XREADY (no hardware to detect illegal XTIMING configurations):

XRDLEAD XRDACTIVE XRDTRAIL XWRLEAD XWRACTIVE XWRTRAIL X2TIMING
Invalid 0 0 0 0 0 0 0, 1
Invalid 1 0 0 1 0 0 0, 1
Invalid 1 1 0 1 1 0 0
Valid 1 2 0 1 2 0 1
Valid 1 2 0 1 2 0 0, 1
Valid 2 2 0 2 2 0 0, 1

TMS320F2810, TMS320F2810-Q1, TMS320F2811, TMS320F2811-Q1

TMS320F2812, TMS320F2812-Q1

Unless otherwise specified, all XINTF timing is applicable for the clock configurations shown in Table 8-4.

Table 8-4. XINTF Clock Configurations

MODE SYSCLKOUT XTIMCLK XCLKOUT
1Example: 150 MHz SYSCLKOUT150 MHz SYSCLKOUT150 MHz
2Example: 150 MHz SYSCLKOUT150 MHz 1/2 SYSCLKOUT75 MHz
3Example: 150 MHz 1/2 SYSCLKOUT75 MHz 1/2 SYSCLKOUT75 MHz
4Example: 150 MHz 1/2 SYSCLKOUT75 MHz 1/4 SYSCLKOUT37.5 MHz

The relationship between SYSCLKOUT and XTIMCLK is shown in Figure 8-26.

Figure from the manual

(A) Default value after reset

Figure 8-26. Relationship Between XTIMCLK and SYSCLKOUT

Submit Document Feedback 55

Figure from the manual

TEXAS INSTRUMENTS www.ti.com

8.12.5.8 XINTF Signal Alignment to XCLKOUT

For each XINTF access, the number of lead, active, and trail cycles is based on the internal clock XTIMCLK. Strobes such as \overlineXRD, \overlineXWE, and zone chip-select ( \overlineXZCS ) change state in relationship to the rising edge of XTIMCLK. The external clock, XCLKOUT, can be configured to be either equal to or one-half the frequency of XTIMCLK.

For the case where XCLKOUT = XTIMCLK, all of the XINTF strobes will change state with respect to the rising edge of XCLKOUT. For the case where XCLKOUT = one-half XTIMCLK, some strobes will change state either on the rising edge of XCLKOUT or the falling edge of XCLKOUT. In the XINTF timing tables, the notation XCOHL is used to indicate that the parameter is with respect to either case; XCLKOUT rising edge (high) or XCLKOUT falling edge (low). If the parameter is always with respect to the rising edge of XCLKOUT, the notation XCOH is used.

For the case where XCLKOUT = one-half XTIMCLK, the XCLKOUT edge with which the change will be aligned can be determined based on the number of XTIMCLK cycles from the start of the access to the point at which the signal changes. If this number of XTIMCLK cycles is even, the alignment will be with respect to the rising edge of XCLKOUT. If this number is odd, then the signal will change with respect to the falling edge of XCLKOUT. Examples include the following:

  • Strobes that change at the beginning of an access always align to the rising edge of XCLKOUT. This is because all XINTF accesses begin with respect to the rising edge of XCLKOUT. Examples:

    • XZCSL Zone chip-select active-low
    • XRNWL XR/ \overlineW active-low
  • Strobes that change at the beginning of the active period will align to the rising edge of XCLKOUT if the total number of lead XTIMCLK cycles for the access is even. If the number of lead XTIMCLK cycles is odd, then the alignment will be with respect to the falling edge of XCLKOUT. Examples:

    • XRDL \overlineXRD active-low
    • XWEL \overlineXWE active-low
  • Strobes that change at the beginning of the trail period will align to the rising edge of XCLKOUT if the total number of lead + active XTIMCLK cycles (including hardware waitstates) for the access is even. If the number of lead + active XTIMCLK cycles (including hardware waitstates) is odd, then the alignment will be with respect to the falling edge of XCLKOUT. Examples:

    • XRDH \overlineXRD inactive-high
    • XWEH \overlineXWE inactive-high
  • Strobes that change at the end of the access will align to the rising edge of XCLKOUT if the total number of lead + active + trail XTIMCLK cycles (including hardware waitstates) is even. If the number of lead + active + trail XTIMCLK cycles (including hardware waitstates) is odd, then the alignment will be with respect to the falling edge of XCLKOUT. Examples:

    • XZCSH Zone chip-select inactive-high
    • XRNWH XR/ \overlineW inactive-high

56 Submit Document Feedback Copyright © 2021 Texas Instruments Incorporated Product Folder Links: TMS320F2810 TMS320F2810-Q1 TMS320F2811 TMS320F2811-Q1 TMS320F2812 TMS320F2812-Q1

Figure from the manual

TMS320F2810, TMS320F2810-Q1, TMS320F2811, TMS320F2811-Q1 TMS320F2812, TMS320F2812-Q1

www.ti.com

8.12.5.9 External Interface Read Timing

8.12.5.9.1 External Memory Interface Read Switching Characteristics

(1) During inactive cycles, the XINTF address bus will always hold the last address put out on the bus. This includes alignment cycles.

8.12.5.9.2 External Memory Interface Read Timing Requirements

(1) LR = Lead period, read access. AR = Active period, read access. See Table 8-3.

Submit Document Feedback 57

Figure from the manual

Figure from the manual

A. All XINTF accesses (lead period) begin on the rising edge of XCLKOUT. When necessary, the device will insert an alignment cycle before an access to meet this requirement.

B. During alignment cycles, all signals will transition to their inactive state.

C. For USEREADY = 0, the external XREADY input signal is ignored.

D. XA[0:18] will hold the last address put on the bus during inactive cycles, including alignment cycles.

Figure 8-27. Example Read Access

XTIMING register parameters used for this example:

XRDLEAD XRDACTIVE XRDTRAIL USEREADY X2TIMING XWRLEAD XWRACTIVE XWRTRAIL READYMODE
≥ 1 ≥ 0 ≥ 0 0 0 N/A(1) N/A(1) N/A(1) N/A(1)

(1) N/A = “Don’t care” for this example

8.12.5.10 External Interface Write Timing

8.12.5.10.1 External Memory Interface Write Switching Characteristics

(1) During inactive cycles, the XINTF address bus will always hold the last address put out on the bus. This includes alignment cycles.

(2) TW = Trail period, write access. See Table 8-3.

Figure from the manual

A. All XINTF accesses (lead period) begin on the rising edge of XCLKOUT. When necessary, the device will insert an alignment cycle before an access to meet this requirement.

B. During alignment cycles, all signals will transition to their inactive state.

C. For USEREADY = 0, the external XREADY input signal is ignored.

D. XA[0:18] will hold the last address put on the bus during inactive cycles, including alignment cycles.

Figure 8-28. Example Write Access

XTIMING register parameters used for this example:

(1) N/A = "Don't care" for this example

Figure from the manual

8.12.5.11 External Interface Ready-on-Read Timing With One External Wait State

8.12.5.11.1 External Memory Interface Read Switching Characteristics (Ready-on-Read, 1 Wait State)

PARAMETER MIN MAX UNIT
td(XCOH-XZCSL) Delay time, XCLKOUT high to zone chip-select active-low 1 ns
td(XCOHL-XZCSH) Delay time, XCLKOUT high/low to zone chip-select inactive-high –2 3 ns
td(XCOH-XA) Delay time, XCLKOUT high to address valid 2 ns
td(XCOHL-XRDL) Delay time, XCLKOUT high/low to \overlineXRD active-low 1 ns
td(XCOHL-XRDH) Delay time, XCLKOUT high/low to \overlineXRD inactive-high –2 1 ns
th(XA)XZCSH Hold time, address valid after zone chip-select inactive-high (1) ns
th(XA)XRD Hold time, address valid after \overlineXRD inactive-high (1) ns

(1) During inactive cycles, the XINTF address bus will always hold the last address put out on the bus. This includes alignment cycles.

8.12.5.11.2 External Memory Interface Read Timing Requirements (Ready-on-Read, 1 Wait State)

MIN MAX UNIT
ta(A) Access time, read data from address valid (LR + AR) – 14(1) ns
ta(XRD) Access time, read data valid from \overlineXRD active-low AR – 12(1) ns
tsu(XD)XRD Setup time, read data valid before \overlineXRD strobe inactive-high 12 ns
th(XD)XRD Hold time, read data valid after \overlineXRD inactive-high 0 ns

(1) LR = Lead period, read access. AR = Active period, read access. See Table 8-3.

8.12.5.11.3 Synchronous XREADY Timing Requirements (Ready-on-Read, 1 Wait State)

MIN(1) MAX UNIT
tsu(XRDYsynchL)XCOHL Setup time, XREADY (synchronous) low before XCLKOUT high/low 15 ns
th(XRDYsynchL) Hold time, XREADY (synchronous) low 12 ns
te(XRDYsynchH) Earliest time XREADY (synchronous) can go high before the sampling XCLKOUT edge 3 ns
tsu(XRDYsynchH)XCOHL Setup time, XREADY (synchronous) high before XCLKOUT high/low 15 ns
th(XRDYsynchH)XZCSH Hold time, XREADY (synchronous) held high after zone chip-select high 0 ns

(1) The first XREADY (synchronous) sample occurs with respect to E in Figure 8-29: E = (XRDLEAD + XRDACTIVE) tc(XTIM) When first sampled, if XREADY (synchronous) is found to be high, then the access will complete. If XREADY (synchronous) is found to be low, it will be sampled again each tc(XTIM) until it is found to be high. For each sample (n), the setup time (D) with respect to the beginning of the access can be calculated as: D = (XRDLEAD + XRDACTIVE + n – 1) tc(XTIM) – tsu(XRDYsynchL)XCOHL where n is the sample number (n = 1, 2, 3, and so forth).

8.12.5.11.4 Asynchronous XREADY Timing Requirements (Ready-on-Read, 1 Wait State)

MIN(1) MAX UNIT
tsu(XRDYAsynchL)XCOHL Setup time, XREADY (asynchronous) low before XCLKOUT high/low 11 ns
th(XRDYAsynchL) Hold time, XREADY (asynchronous) low 8 ns
te(XRDYAsynchH) Earliest time XREADY (asynchronous) can go high before the sampling XCLKOUT edge 3 ns
tsu(XRDYAsynchH)XCOHL Setup time, XREADY (asynchronous) high before XCLKOUT high/low 11 ns
th(XRDYAsynchH)XZCSH Hold time, XREADY (asynchronous) held high after zone chip-select high 0 ns

(1) The first XREADY (asynchronous) sample occurs with respect to E in Figure 8-30: E = (XRDLEAD + XRDACTIVE – 2) tc(XTIM) When first sampled, if XREADY (asynchronous) is found to be high, then the access will complete. If XREADY (asynchronous) is found to be low, it will be sampled again each tc(XTIM) until it is found to be high. For each sample, setup time from the beginning of the access can be calculated as: D = (XRDLEAD + XRDACTIVE – 3 + n) tc(XTIM) – tsu(XRDYAsynchL)XCOHL

Figure from the manual

where n is the sample number (n = 1, 2, 3, and so forth).

Figure from the manual

Legend:

■■■■■■■■ = Don’t care. Signal can be high or low during this time.

A. All XINTF accesses (lead period) begin on the rising edge of XCLKOUT. When necessary, the device will insert an alignment cycle before an access to meet this requirement.

B. During alignment cycles, all signals will transition to their inactive state.

C. During inactive cycles, the XINTF address bus will always hold the last address put out on the bus. This includes alignment cycles.

D. For each sample, setup time from the beginning of the access (D) can be calculated as: D = (XRDLEAD + XRDACTIVE + n – 1) tc(XTIM) – tsu(XRDYsynchL)XCOHL

E. Reference for the first sample is with respect to this point E = (XRDLEAD + XRDACTIVE) tc(XTIM) where n is the sample number (n = 1, 2, 3, and so forth).

Figure 8-29. Example Read With Synchronous XREADY Access

XTIMING register parameters used for this example:

XRDLEAD XRDACTIVE XRDTRAIL USEREADY X2TIMING XWRLEAD XWRACTIVE XWRTRAIL READYMODE
≥ 1 3 ≥ 1 1 0 N/A(1) N/A(1) N/A(1) 0 = XREADY (Synch)

(1) N/A = “Don’t care” for this example

Figure from the manual

Figure from the manual

Legend: □□□□□□□ = Don’t care. Signal can be high or low during this time.

A. All XINTF accesses (lead period) begin on the rising edge of XCLKOUT. When necessary, the device will insert an alignment cycle before an access to meet this requirement.

B. During alignment cycles, all signals will transition to their inactive state.

C. During inactive cycles, the XINTF address bus will always hold the last address put out on the bus. This includes alignment cycles.

D. For each sample, setup time from the beginning of the access can be calculated as: D = (XRDLEAD + XRDACTIVE – 3 + n) tc(XTIM) – tsu(XRDYAsynchL)XCOHL where n is the sample number (n = 1, 2, 3, and so forth).

E. Reference for the first sample is with respect to this point: E = (XRDLEAD + XRDACTIVE – 2) tc(XTIM)

Figure 8-30. Example Read With Asynchronous XREADY Access

XTIMING register parameters used for this example:

XRDLEAD XRDACTIVE XRDTRAIL USEREADY X2TIMING XWRLEAD XWRACTIVE XWRTRAIL READYMODE
≥ 1 3 ≥ 1 1 0 N/A(1) N/A(1) N/A(1) 1 = XREADY (Async)

(1) N/A = “Don’t care” for this example

Figure from the manual

8.12.5.12 External Interface Ready-on-Write Timing With One External Wait State

8.12.5.12.1 External Memory Interface Write Switching Characteristics (Ready-on-Write, 1 Wait State)

PARAMETER MIN MAX UNIT
td(XCOH-XZCSL) 1 ns
td(XCOHL-XZCSH) –2 3 ns
td(XCOH-XA) 2 ns
td(XCOHL-XWEL) 2 ns
td(XCOHL-XWEH) 2 ns
td(XCOH-XRNWL) 1 ns
td(XCOHL-XRNWH) –2 1 ns
ten(XD)XWEL 0 ns
td(XWEL-XD) 4 ns
th(XA)XZCSH (1) ns
th(XD)XWE TW – 2(2) ns
tdis(XD)XRNW 4 ns

(1) During inactive cycles, the XINTF address bus will always hold the last address put out on the bus. This includes alignment cycles.

(2) TW = trail period, write access. See Table 8-3.

8.12.5.12.2 Synchronous XREADY Timing Requirements (Ready-on-Write, 1 Wait State)

PARAMETER MIN(1) MAX UNIT
tsu(XRDYsynchL)XCOHL 15 ns
th(XRDYsynchL) 12 ns
te(XRDYsynchH) 3 ns
tsu(XRDYsynchH)XCOHL 15 ns
th(XRDYsynchH)XZCSH 0 ns

(1) The first XREADY (synchronous) sample occurs with respect to E in Figure 8-31:

E = (XWRLEAD + XWRACTIVE) tc(XTIM)

When first sampled, if XREADY (synchronous) is found to be high, then the access will complete. If XREADY (synchronous) is found to be low, it will be sampled again each tc(XTIM) until it is found to be high.

For each sample, setup time from the beginning of the access can be calculated as:

D = (XWRLEAD + XWRACTIVE + n – 1) tc(XTIM) – tsu(XRDYsynchL)XCOHL

where n is the sample number (n = 1, 2, 3, and so forth).

8.12.5.12.3 Asynchronous XREADY Timing Requirements (Ready-on-Write, 1 Wait State)

PARAMETER MIN(1) MAX UNIT
tsu(XRDYasynchL)XCOHL 11 ns
th(XRDYasynchL) 8 ns
te(XRDYasynchH) 3 ns
tsu(XRDYasynchH)XCOHL 11 ns
th(XRDYasynchH)XZCSH 0 ns

(1) The first XREADY (synchronous) sample occurs with respect to E in Figure 8-32:

E = (XWRLEAD + XWRACTIVE – 2) tc(XTIM)

When first sampled, if XREADY (asynchronous) is found to be high, then the access will complete. If XREADY (asynchronous) is found to be low, it will be sampled again each tc(XTIM) until it is found to be high.

For each sample, setup time from the beginning of the access can be calculated as:

D = (XWRLEAD + XWRACTIVE – 3 + n) tc(XTIM) – tsu(XRDYasynchL)XCOHL

where n is the sample number (n = 1, 2, 3, and so forth).

Figure from the manual

Figure from the manual

Legend: □□□□□□□□ = Don’t care. Signal can be high or low during this time.

A. All XINTF accesses (lead period) begin on the rising edge of XCLKOUT. When necessary, the device will insert an alignment cycle before an access to meet this requirement.

B. During alignment cycles, all signals will transition to their inactive state.

C. During inactive cycles, the XINTF address bus will always hold the last address put out on the bus. This includes alignment cycles.

D. For each sample, setup time from the beginning of the access can be calculated as: D = (XWRLEAD + XWRACTIVE + n – 1) tc(XTIM) – tsu(XRDYsynchL)XCOHL where n is the sample number (n = 1, 2, 3 and so forth).

E. Reference for the first sample is with respect to this point E = (XWRLEAD + XWRACTIVE) tc(XTIM)

Figure 8-31. Write With Synchronous XREADY Access

XTIMING register parameters used for this example:

XRDLEAD XRDACTIVE XRDTRAIL USEREADY X2TIMING XWRLEAD XWRACTIVE XWRTRAIL READYMODE
N/A(1) N/A(1) N/A(1) 1 0 ≥ 1 3 ≥ 1 0 = XREADY (Synch)

(1) N/A = “Don’t care” for this example

Figure from the manual

TMS320F2810, TMS320F2810-Q1, TMS320F2811, TMS320F2811-Q1

TMS320F2812, TMS320F2812-Q1

Figure from the manual

Legend: □□□□□□□ = Don’t care. Signal can be high or low during this time.

A. All XINTF accesses (lead period) begin on the rising edge of XCLKOUT. When necessary, the device will insert an alignment cycle before an access to meet this requirement. B. During alignment cycles, all signals will transition to their inactive state. C. During inactive cycles, the XINTF address bus will always hold the last address put out on the bus. This includes alignment cycles. D. For each sample, setup time from the beginning of the access can be calculated as: D = (XWRLEAD + XWRACTIVE – 3 + n) tc(XTIM) – tsu(XRDYasynchL)XCOHL where n is the sample number (n = 1, 2, 3 and so forth). E. Reference for the first sample is with respect to this point E = (XWRLEAD + XWRACTIVE – 2) tc(XTIM)

Figure 8-32. Write With Asynchronous XREADY Access

XTIMING register parameters used for this example:

XRDLEAD XRDACTIVE XRDTRAIL USEREADY X2TIMING XWRLEAD XWRACTIVE XWRTRAIL READYMODE
N/A(1) N/A(1) N/A(1) 1 0 ≥ 1 3 ≥ 1 1 = XREADY (Async)

(1) N/A = “Don’t care” for this example

Submit Document Feedback 65

Figure from the manual

8.12.5.13 XHOLD and XHOLDA

If the HOLD mode bit is set while XHOLD and XHOLDA are both low (external bus accesses granted), the XHOLDA signal is forced high (at the end of the current cycle) and the external interface is taken out of high-impedance mode.

On a reset (XRS), the HOLD mode bit is set to 0. If the XHOLD signal is active low on a system reset, the bus and all signal strobes must be in high-impedance mode, and the XHOLDA signal is also driven active low.

When HOLD mode is enabled and XHOLDA is active-low (external bus grant active), the CPU can still execute code from internal memory. If an access is made to the external interface, the CPU is stalled until the XHOLD signal is removed.

An external DMA request, when granted, places the following signals in a high-impedance mode:

XA[18:0] XZCS0AND1
XD[15:0] XZCS2
XWE, XRD XZCS6AND7
XR/ W

All other signals not listed in this group remain in their default or functional operational modes during these signal events.

Figure from the manual

TMS320F2810, TMS320F2810-Q1, TMS320F2811, TMS320F2811-Q1

8.12.5.14 XHOLD/ XHOLDA Timing

8.12.5.14.1 XHOLD/ XHOLDA Timing Requirements (XCLKOUT = XTIMCLK)

(1) When a low signal is detected on XHOLD, all pending XINTF accesses will be completed before the bus is placed in a high-impedance state. (2) The state of XHOLD is latched on the rising edge of XTIMCLK.

Figure from the manual

A. All pending XINTF accesses are completed. B. Normal XINTF operation resumes.

Figure 8-33. External Interface Hold Waveform

8.12.5.14.2 XHOLD/ XHOLDA Timing Requirements (XCLKOUT = 1/2 XTIMCLK)

MIN(1) (2) (3) MAX UNIT
td(HL-HiZ) Delay time, XHOLD low to Hi-Z on all Address, Data, and Control 4tc(XTIM) + tc(XCO) ns
td(HL-HAL) Delay time, XHOLD low to XHOLDA low 4tc(XTIM) + 2tc(XCO) ns
td(HH-HAH) Delay time, XHOLD high to XHOLDA high 4tc(XTIM) ns
td(HH-BV) Delay time, XHOLD high to Bus valid 6tc(XTIM) ns

(1) When a low signal is detected on XHOLD, all pending XINTF accesses will be completed before the bus is placed in a high-impedance state.

(2) The state of XHOLD is latched on the rising edge of XTIMCLK.

(3) After the XHOLD is detected low or high, all bus transitions and XHOLDA transitions will occur with respect to the rising edge of XCLKOUT. Thus, for this mode where XCLKOUT = 1/2 XTIMCLK, the transitions can occur up to 1 XTIMCLK cycle earlier than the maximum value specified.

Figure from the manual

A. All pending XINTF accesses are completed. B. Normal XINTF operation resumes.

Figure 8-34. XHOLD/ XHOLDA Timing Requirements (XCLKOUT = 1/2 XTIMCLK)

Figure from the manual

Text converted from the manufacturer's document. A □ marks a character that could not be read in the original. Back to the Texas Instruments TMS320F2812 discussions