This presentation is the property of its rightful owner.
Sponsored Links
1 / 82

第 6 章 微机总线标准 PowerPoint PPT Presentation


  • 156 Views
  • Uploaded on
  • Presentation posted in: General

第 6 章 微机总线标准. 6.1 总线概述. 6.1.1 总线标准的概念与特性. ◆ 总线:是在模块和模块之间或设备与设备之间的一组进行互连和传输信息的 信号线 ,信息包括指令、数据和地址。. ◆ 总线标准 指芯片之间、扩展卡之间以及系统之间,通过总线进行连接和传输信息时,应该遵守的一些协议与规范。. 总线标准的特性. 1 .物理特性 : 2 .功能特性 : 3 .电器特性 : 4 .时间特性 :. 总线物理连接方式 ( 电缆式、蚀刻式),总线根数、插头和插座形状,引脚排列等。. 描述一组总线中每一根线的功能。.

Download Presentation

第 6 章 微机总线标准

An Image/Link below is provided (as is) to download presentation

Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.


- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -

Presentation Transcript


6


6.1

6.1.1


1:

2:

3:

4:

(

CPUCPU#CS#REQ#


6.1.2

1)


2)

  • CPUCPUCPUCPU

  • CPUCPUCPU

  • I/O


6.1.3

1MHz

2

3

=(/8)

PCI33.3MHz64266MB/s


6.1.4

4

1

2

3

4


clk

wait/ready

clk

1

1

2

2

wait/ready


4

REQ

clk

address

data

ACK

3


6.2 PCI

6.2.1 PCI

6)

7) PCI2.2

8)

9)

  • 2)

  • 3)

  • 4)

  • 5)


6.2.2 PCI

  • CLK INPCI 33MHz/66MHz0HzPCICLK


2.

AD[31:00] T/S/

  • FRAME#1AD[31:00]32

  • IRDY#TRDY#AD[31:00]32

C/BE[3:0]# T/S

PAR T/SAD[31:00]C/BE[3:0]#


  • 3.

  • FRAME# S/T/S

  • IRDY# S/T/S

  • TRDY# S/T/S

  • STOP# S/T/S

  • LOCK# S/T/S

  • IDSEL IN

  • DEVSEL# S/T/S

  • FRAME#


4.

REQ# T/S

GNT# T/S

5.

PERR# S/T/S

SERR# O/D

6.

PCI4INTA#INTB#INTC#INTD# INTA#


7. 64

AD[63:32] T/S32

C/BE[7:4]# T/S

REQ64# S/T/S64

ACK64# S/T/S64

PAR64 T/S


5V 32

5V 64

3.3V 32

3.3V 64

a. 4PCI

A1

A62

A52

A49

B52

B49

B62

B1

1.27

3.82

77.48

b. 5V32PCI

6.2.3 PCIPCI

1. PCI


IC

IC

IC

1.91

60.96

41.6

12.7

80

2.PCI


C/BE[3:0]#

C/BE[3:0]#

0000

1000

0001

1001

0010

I/O(I/O)

1010

0011

I/O(I/O)

1011

0100

1100

0101

1101

0110

()

1110

0111

()

1111

6.2.4 PCI

PCI


6.2.5 PCI

1PCI

(1) FRAME#IRDY#/

11001001

(2) FRAME#

(3) IRDY#FRAME#

(4) IRDY#IRDY#FRAME#


AD1

AD0

C/BE2#

0

0

0

0

1

0

1

1

0

0

1

1

3.4 AD[1:0]C/BE[3:0]#

1

1

0

1

1

1

C/BE1#

C/BE0#

C/BE3#

2PCI

(1) I/O

  • I/O32AD

  • AD[1:0]C/BE[3:0]


(2)

31

2

1

0

00

01Cache

1X

(3)

7

2

1

0

00

01

1X


3

PCI64DWORD

4PCI

PCI

ADAD


CLK

8

1

7

6

2

3

4

5

FRAME#

IRDY#

TRDY#

DEVSEL#

MED

SLOW

FAST

5

DEVSEL#FRAME#TRDY#DEVSEL#

DEVSEL#


CLK

9

8

1

7

6

2

3

4

5

FRAME#

DATA3

DATA1

AD

ADDRESS

DATA2

C/BE#

BUSCMD

BE#s

IRDY#

TRDY#

DEVSEL#

PCI

6.2.6 PCI

1


CLK

9

8

1

7

6

2

3

4

5

FRAME#

ADDRESS

AD

DATA1

DATA2

DATA3

C/BE#

BEs3

BEs2

BUSCMD

BEs1

IRDY#

TRDY#

DEVSEL#

PCI

2


3

(1)

  • (GNT#)

FRAME#IRDY#TRDY#

(2)

  • 8

STOP#FRAME#


PCIFRAME#IRDY#TRDY#STOP#

  • STOP#FRAME#2~3IRDY#STOP#FRAME#FRAME#STOP#

  • STOP#TRDY#IRDY#


6.2.7

PCI

REQ#

REQ#

PCIB

PCIA

GNT#

GNT#


CLK

1

7

6

2

3

4

5

REQ#-A

a

b

REQ#-B

d

e

c

GNT#-A

f

g

GNT#-B

FRAME#

IRDY#

TRDY#

AD

B

A

PCI


6.2.8 PCI

1PCI

BIOSOSWindows2000/XPOSOS

PCI

PCIPCIPCI


2


(1)

7

(2)

PCI

(3)

PCI140100 0000 0000 0000B


(4)

PCII/OI/O


31 2 1 0

0

1

I/O256

I/O

31(63) 3 2 1 0

0

00 32

01 321M

10 64

11


0

1

1MB04190


1

1=FFF00000h

  • 0=0

  • [2:1]=00b32

  • 3=0

  • [31:4] 1202201MB1MB2MB3MB

1MBFFF00000H, FFE00000H, FE000000H

FFF10000H


2

=FFFFFF01h

  • 0=1I/O

  • [31:2]18I/O28256I/O256


/

/

=1624

=2GB231

/I/O

I/O=422

=256


ROM

31 11 10 1 0

ROM

ROM=FFFF0001h

  • 0=1ROM

  • [31:11]11664KROM64KB


(5)

8PCI1INTA#2INTB#

8/PC 8259A

Min_Gnt/Max_lat

Min_Gnt

Max_latPCI


2

(1)

PCI

1)IDSEL

2)AD[1:0]00


(2)

  • 0

  • PCI

  • IDSELAD[10]00

  • AD[10]00 AD[108] AD [72](AD[31:11]IDSEL

  • AD[310]/


  • 1

  • PCI/PCIPCI()

  • AD[10]01AD[108] AD[72] AD[1511]IDSELAD[2316]

  • PCI/PCI1


CPU

A

PCI0

B

PCI1

  • 1C/BE#

  • 0AD[10:2]ADAD[15:11 ]IDSELC/BE#


(3)

x86PCII/O

  • 32I/OPCI

  • I/O0CF8H~0CFBH

  • I/O0CFCH~0CFFH

32

/


6.3 USB

6.3.1 USB

1. USB

  • USB/USBUSB(USB Hub)

    USBUSB

    HUBUSB


2. USB

  • USBUSBI/OUSBUSB

  • USB USBUSB USB

  • USBUSBHubHub


PCI

USB/Hub

USB

3. USB

=4.8Gb/s(3.0)

=480Mb/s(2.0)

=12Mb/s(1.1)

=1.5Mb/s(1.0)


6.2.2 USB

1.

+3.0~

3.6vdc

+5vdc

/USB()

1.5K

//USB()

D+

D+

USB

D-

D-

15K

15K

+3.0~

3.6vdc

+5vdc

USB()

//USB()

1.5K

D+

D+

USB

D-

D-

15K

15K

USB


USB


USB


D+D-2.5(2.7)V

2.5s

K

D+D-0.8V2.5s

2SE01J


/

  • D+

  • (Reset)E010ms

  • Chirp KchirtpChirpKJ

  • Chirp KJKJKJD+

  • Chirp K

  • Chirp KChirp KJKJKJ


2.

4.75~5.25V500mA <100mA

USB

USB

USB


0 0 0 1 1 1 1 1 1 1 1 0 1 1

0 0 0 1 1 1 1 1 1 0 1 1 0 1 1

0 0 0 1 1 1 1 1 1 0 1 1 0 1 1

NRZI

NRZI

3.NRZI

NRZI016110NRZI0


6.3.3 USB

USB

USB4

1 USB0

2/

3

4/


6.3.4 USB

D+D-0.8V21J


PID

PID

PID[3:0]

OUT

0001b

PIDCRC

IN

1001b

SOF

0101b

SETUP

1101b

DATA0

0011b

0

DATA1

1011b

1

DATA2

0111b

MDATA

1111b

3.6 (USB2.0)


ACK

0010b

NAK

1010b

STALL

1110b

NYET

0110b

PRE

1100b

(Token)

ERR

1100b

(Handshake)

SPLIT

1000b

PING

0100b

Reserved

0000b


LSb

MSb

PID1

PID3

PID3#

PID1#

PID2#

PID0

PID2

PID0#

8

516

n

8(32)

PID

SYNC

CRC

10000000B(1.1)

SYNC

10000000000000000000000000000000B(2.0)

PID

4PID

4PID


8

11

5

8/32

FRAME NUMBER

PID

SYNC

CRC

1.

(1) SOF1ms

MSb

LSb

0 0 0 0 0 0 0 1 1 0 1 0 0 1 0 1


8

7

4

8/32

5

ADDR

SYCN

PID

ENDP

CRC

(2) IN

4

:

HubHub

(3)OUT

3

:

HubHub


8

0~8184(1023B)

16

8

DATA

PID

SYNC

CRC

USB 1.1

8

0~8192(1024B)

16

32

DATA

PID

SYNC

CRC

USB 2.0

(4)SETUP

INOUT

2


8/32

8

SYCN

PID

3

4

  • SYNCPID

  • PID

  • PID4

  • 8


1.2

2 Hub,

3 RESET

5.1 0

6.1

7.1

8.1

1.1 []

4 RESET[]

5.2 []

6.2 []

7.2

8.2 []

6.3.5 USB

HUB


6.3.6 USB2.0OTG

USB On-The-Go(OTG)USB 2.0USBPCUSBUSBPC(pear to pear)

  • USB On-The-Go USB

  • HNP USB


mini-B

mini-A

VBUS

D+

D-

VCC

VCC

GND

ID

0: Master

A

1: Slave

B

USB On-The-Go mini-AB mini-A mini-B


OTG RTR(/)(HNP)

  • ASET_FEATUREB

  • AB

  • BA

  • AD+D+AB

  • BD+


6.3.7 USB

1.

  • USB

  • USB Hub

  • HID()USB

  • USB OTG

2.

  • USBCPUSOC

  • USB

  • CPUUSB


3.

  • - (USBOTG)- USBOTG- OTG- PC

4.

  • OTGISP1362OTG243

  • / SL811HSISP1161

  • PDIUSBD12ISP1581

  • HUBGL652USB


6.3.8 USB 3.0

USB 3.0USB 2.02SSRX+/SSRX-SSTX+/SSTX-SSRX+/SSRX-SSTX+/SSTX-USB 3.0


USB3.0USB2.0

  • USB 2.0

  • USB 2.0INOUT

  • USB 2.0

  • USB 2.0

  • USB 2.0 USB

  • USB 2.01ms/125s SOF/SOFUSB3.0+/-13.333s125s

  • USB 2.0

  • USB 2.0


6.4 PCI-Express

6.4.1 PCI-Express

PCI Express/

PCI Express14


1

2

3

4

52.5Gbit/s

6IO

7

8

9PCI


6.4.2 PCI-Express


1

CPUCPUI/O

ID0


2

I/O

3ID

VC


3

PCI ExpressI/OMSI

PCI Express64

0 PCI


6.4.3 PCI Express

PCI ExpressI/O


6.4.4 PCI-Express

PCI Express A

PCI Express B

PCI Express

PCI Express


1/

SCSIUSB

PCI ExpressTLP

2

TLPTLP

3

4

TLPDLLP


  • Login