I seeking code example that demonstrate or make use of DMA for data transfer
between memory to SPI bus within SSP1 port. This need to be full duplex, rather
than half-duplex.
This device is treated as Slave, where external CS and SCLK drive drive the data
transfer.
The data transfer size is up to 130 Byte.
Can the DMA be halted or operation cancel when CS goes HIGH without risk of
memory corruption. If so how to do this?
LPC17xx DMA, full duplex SPI bus, seeking code example
Started by ●September 5, 2012
Reply by ●September 5, 20122012-09-05
Hi,
take a look at this:
http://www.embeddedrelated.com/groups/lpc2000/show/55956.php
Regards,
Kuba
2012/9/5 Richard
> **
> I seeking code example that demonstrate or make use of DMA for data
> transfer between memory to SPI bus within SSP1 port. This need to be full
> duplex, rather than half-duplex.
>
> This device is treated as Slave, where external CS and SCLK drive drive
> the data transfer.
>
> The data transfer size is up to 130 Byte.
>
> Can the DMA be halted or operation cancel when CS goes HIGH without risk
> of memory corruption. If so how to do this?
>
>
>
take a look at this:
http://www.embeddedrelated.com/groups/lpc2000/show/55956.php
Regards,
Kuba
2012/9/5 Richard
> **
> I seeking code example that demonstrate or make use of DMA for data
> transfer between memory to SPI bus within SSP1 port. This need to be full
> duplex, rather than half-duplex.
>
> This device is treated as Slave, where external CS and SCLK drive drive
> the data transfer.
>
> The data transfer size is up to 130 Byte.
>
> Can the DMA be halted or operation cancel when CS goes HIGH without risk
> of memory corruption. If so how to do this?
>
>
>