Clkstp = 11b, clkxp = 0, See figure 32) – Texas Instruments TMS320VC5402 User Manual

Page 58

Advertising
background image

TMS320VC5402

FIXEDĆPOINT DIGITAL SIGNAL PROCESSOR

SPRS079E – OCTOBER 1998 – REVISED AUGUST 2000

58

POST OFFICE BOX 1443

HOUSTON, TEXAS 77251–1443

multichannel buffered serial port timing (continued)

timing requirements for McBSP as SPI master or slave: [H=0.5t

c(CO)

] CLKSTP = 11b, CLKXP = 0

(see Figure 32)

MASTER

SLAVE

UNIT

MIN

MAX

MIN

MAX

UNIT

tsu(BDRV-BCKXH)

Setup time, BDR valid before BCLKX high

12

2 – 12H

ns

th(BCKXH-BDRV)

Hold time, BDR valid after BCLKX high

4

5 + 12H

ns

tsu(BFXL-BCKXH)

Setup time, BFSX low before BCLKX high

10

ns

tc(BCKX)

Cycle time, BCLKX

12H

32H

ns

† For all SPI slave modes, CLKG is programmed as 1/2 of the CPU clock by setting CLKSM = CLKGDV = 1.

switching characteristics for McBSP as SPI master or slave: [H=0.5t

c(CO)

] CLKSTP = 11b,

CLKXP = 0

(see Figure 32)

PARAMETER

MASTER

SLAVE

UNIT

PARAMETER

MIN

MAX

MIN

MAX

UNIT

th(BCKXL-BFXL)

Hold time, BFSX low after BCLKX low§

C – 3

C + 4

ns

td(BFXL-BCKXH)

Delay time, BFSX low to BCLKX high¶

T – 5

T + 3

ns

td(BCKXL-BDXV)

Delay time, BCLKX low to BDX valid

–2

6

6H + 5

10H + 15

ns

tdis(BCKXL-BDXHZ)

Disable time, BDX high impedance following last data bit from
BCLKX low

–2

4

6H + 3

10H + 17

ns

td(BFXL-BDXV)

Delay time, BFSX low to BDX valid

D – 2

D + 4

4H – 2

8H + 17

ns

† For all SPI slave modes, CLKG is programmed as 1/2 of the CPU clock by setting CLKSM = CLKGDV = 1.
‡ T = BCLKX period = (1 + CLKGDV) * 2H

C =

BCLKX low pulse width = T/2 when CLKGDV is odd or zero and = (CLKGDV/2) * 2H when CLKGDV is even

D =

BCLKX high pulse width = T/2 when CLKGDV is odd or zero and = (CLKGDV/2 + 1) * 2H when CLKGDV is even

§ FSRP = FSXP = 1. As a SPI master, BFSX is inverted to provide active-low slave-enable output. As a slave, the active-low signal input on BFSX

and BFSR is inverted before being used internally.
CLKXM = FSXM = 1, CLKRM = FSRM = 0 for master McBSP
CLKXM = CLKRM = FSXM = FSRM = 0 for slave McBSP

¶ BFSX should be low before the rising edge of clock to enable slave devices and then begin a SPI transfer at the rising edge of the master clock

(BCLKX).

Bit 0

Bit(n-1)

(n-2)

(n-3)

(n-4)

Bit 0

Bit(n-1)

(n-2)

(n-3)

(n-4)

BCLKX

BFSX

BDX

BDR

td(BFXL-BCKXH)

tdis(BCKXL-BDXHZ)

td(BCKXL-BDXV)

th(BCKXH-BDRV)

tsu(BDRV-BCKXH)

td(BFXL-BDXV)

th(BCKXL-BFXL)

LSB

MSB

tsu(BFXL-BCKXH)

tc(BCKX)

Figure 32. McBSP Timing as SPI Master or Slave: CLKSTP = 11b, CLKXP = 0

Advertising