Добавил:
Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
Сигнальный МП Motorola DSP56002.pdf
Скачиваний:
22
Добавлен:
26.05.2014
Размер:
2 Мб
Скачать
☆

Freescale Semiconductor, Inc.

Freescale Semiconductor, Inc.

SERIAL COMMUNICATION INTERFACE (SCI)

6.3.11Example Circuits

The SCI can be used in a number of configurations to connect multiple processors. The synchronous mode shown in Figure 6-39 shows the DSP acting as a slave. The 8051 provides the clock that clocks data in and out of the SCI, which is possible because the SCI shift register mode timing is compatible with the timing for 8051/8096 processors. Transmit data is changed on the negative edge of the clock, and receive data is latched on the positive edge of the clock. A protocol must be used to prevent both processors from transmitting simultaneously. The DSP is also capable of being the master device.

A multimaster system can be configured (see Figure 6-41) using a single transmit/receive line, multidrop word format, and wired-OR. The use of wired-OR requires a pullup resistor as shown. A protocol must be used to prevent collisions. This scheme is physically the simplest multiple DSP interconnection because it uses only one wire and one resistor.

The master-slave system shown in Figure 6-40 is different in that it is full duplex. The clock pin is not required; thus, it is configured as a GPIO pin. Communication is asynchronous. The slave’s transmitters must be wire-ORed because more than one transmitter is on one line. The master’s transmitter does not need to be wire-ORed.

CLOCK INPUT

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

1.5 Ccyc

TRANSMIT DATA

B0

B1

B2

B3

 

B4

B5

B6

 

B7

 

 

 

RECEIVE DATA XXXXXX

XX

XX

 

XX

XX

XX

XX

 

XX

XXXXXXX

SAMPLE

0

1

2

3

 

4

5

6

 

7

DSP56002

 

 

 

 

 

8051

 

 

 

RXD P3.0

TXD

SCLK P3.1

Figure 6-39 Synchronous Mode Example

6 - 74 PORT C MOTOROLA

For More Information On This Product, Go to: www.freescale.com

Freescale Semiconductor, Inc.

SERIAL COMMUNICATION INTERFACE (SCI)

Freescale Semiconductor, Inc.

MASTER RECEIVE

 

 

 

MASTER TRANSMIT

 

 

 

MC68HC11

DSP56002

DSP56002

DSP56002

MASTER

SLAVE

SLAVE

SLAVE

RXD

RXD

RXD

RXD

TXD

TXD

TXD

TXD

PC2

PC2

PC2

PC2

Figure 6-40 Master-Slave System Example

DSP56002

DSP56002

MASTER

MASTER

TXD

TXD

RXD

RXD

PC2

PC2

Figure 6-41 Multimaster System Example

MOTOROLA PORT C 6 - 75

For More Information On This Product, Go to: www.freescale.com

Соседние файлы в предмете Радиоприемные устройства