[an error occurred while processing this directive]
А сбросить бит SLEEP пробовали? (+)
(«Телесистемы»: Конференция «Цифровые сигнальные процессоры (DSP) и их применение»)

миниатюрный аудио-видеорекордер mAVR

Отправлено SM 25 февраля 2004 г. 12:17
В ответ на: стеклышко протирал, батарейки менял, счетчик принытых байт FIFO увеличивается, флаг наличия принятого байта не выставляется... отправлено xc164 25 февраля 2004 г. 08:21

Это ведь нужно для адресуемого мультипроцессорного обмена. Как только приходит правильное адресное слово, SCI "очухивается", выставляя запрос на прерывание. Где надо сбросить SLEEP. Вот же кусок доки!

In both multiprocessor modes, the receive sequence is:

1) At the receipt of an address block, the SCI port wakes up and requests an interrupt (bit number 1 RX/BK INT ENA-of SCICTL2 must be enabled to request an interrupt). It reads the first frame of the block, which contains the destination address.

2) A software routine is entered through the interrupt and checks the incoming address. This address byte is checked against its device address byte stored in memory.

3) If the check shows that the block is addressed to the device CPU, the CPU clears the SLEEP bit and reads the rest of the block; if not, the software routine exits with the SLEEP bit still set and does not receive interrupts until the next block start.

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

Ответы


Отправка ответа

Имя (обязательно): 
Пароль: 
E-mail: 

Тема (обязательно):
Сообщение:

Ссылка на URL: 
Название ссылки: 

URL изображения: 


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

E-mail: info@telesys.ru