Página 1 de 1

DMA SPI0-1

MensagemEnviado: 02 Set 2009 10:13
por fabim
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