DMA SPI0-1

Software e Hardware para linha ARM

Moderadores: 51, guest2003, Renie, gpenga

DMA SPI0-1

Mensagempor fabim » 02 Set 2009 10:13

Estou mastigando o UM do 1766, mais não consegui saber se tem como.
Estou usando o FSL e um VS1011B.
O fsl abre o SPI0, e o VS1011B esta no SPI1.
Como são mais ou menos.
Código: Selecionar todos
The DREQ signal of the data interface is used in slave mode to signal if VS1011b’s FIFO is capable of
receiving more input data. If DREQ is high, VS1011b can take at least 32 bytes of data. When there is
less than 32 bytes of free space, DREQ is turned low, and the sender should stop transferring new data.
Because of the 32-byte safety area, the sender may send upto 32 bytes of data at a time without checking
the status of DREQ, making controlling VS1011b easier for low-speed microcontrollers.

Estou olhando o pino pidão de dados, quando ele passa fome, eu abilito a DMA e ele pega os bytes do SPI0 e joga para o SPI1 tumaticamente.
Será que é possivel isto ?

Abraços
Mano, ve só.
Sou responsável pelo que escrevo!!! E não pelo que você entende !!!
fabim
Dword
 
Mensagens: 5001
Registrado em: 16 Out 2006 10:18
Localização: aqui uái!!!?

Voltar para ARM

Quem está online

Usuários navegando neste fórum: Nenhum usuário registrado e 1 visitante

cron

x