[an error occurred while processing this directive]
а может кто-нить доходчиво объяснить "Advisory UART_3" из ерраты на С5502 (+)
(«Телесистемы»: Конференция «Цифровые сигнальные процессоры (DSP) и их применение»)

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

Отправлено Doka 15 сентября 2005 г. 15:52

Advisory UART_3
Spurious Receive Event is Generated When Byte at Top of RX FIFO has Error
уж очень запутанный алгоритм обхода:
To avoid this problem, the CPU must be programmed to service interrupt errors from the
UART. When an error is detected by the UART, the interrupt service routine must follow this
procedure:
1. Disable the DMA.
2. Clear the erroneous byte from the FIFO (the spurious receive event will be generated
immediately).
3. Enable the DMA (by this time, the spurious receive event will have already passed).
4. Return to normal operation.
Steps 3 and 4 are optional depending on how the user wants to deal with receiving erroneous
data, i.e., discard data and continue, stop all serial transfers from the UART, etc. Note that the
DMA will stop copying data from the UART FIFO until the error condition is cleared.


.
.
.
и в реальности это все надо делать???

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

Ответы


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

Имя (обязательно): 
Пароль: 
E-mail: 
NoIX ключ Запомнить

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

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

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


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

E-mail: info@telesys.ru