[an error occurred while processing this directive] [an error occurred while processing this directive]
PIC-и имеют Parallel Slave Port..
(«Телесистемы»: Конференция «Микроконтроллеры и их применение»)
[an error occurred while processing this directive] [an error occurred while processing this directive]

Отправлено Baser 18 марта 2002 г. 12:37
В ответ на: Параллельная slave шина. отправлено Владимир Е. 16 марта 2002 г. 22:56

В частности PIC16C74, PIC16F877. Использую эту возможность для связи PIC и ADSP2115. PIC находится по одному адресу адресного пространства ADSP и по прерываниям осуществляется обмен данными.
Вот выдержка из даташита:
Parallel Slave Port
PORTD operates as an 8-bit wide Parallel Slave Port or microprocessor port, when control bit PSPMODE (TRISE<4>) is set. In Slave mode, it is asynchronously readable and writable by the external world through RD control input pin RE0/RD and WR control input pin RE1/WR.
The PSP can directly interface to an 8-bit microprocessor data bus. The external microprocessor can read or write the PORTD latch as an 8-bit latch.
There are actually two 8-bit latches: one for data out-put, and one for data input. The user writes 8-bit data to the PORTD data latch and reads data from the port pin latch (note that they have the same address).
An interrupt is generated and latched into flag bit PSPIF when a read or write operation is completed.

Составить ответ  |||  Конференция  |||  Архив

Ответы



Перейти к списку ответов  |||  Конференция  |||  Архив  |||  Главная страница  |||  Содержание  |||  Без кадра

E-mail: info@telesys.ru