LPC17xx SPI Bus, full duplex under DMA, seeking code example

Status
Not open for further replies.

riscy00

Junior Member level 3
Joined
Oct 18, 2009
Messages
26
Helped
1
Reputation
2
Reaction score
0
Trophy points
1,281
Location
Acle, Norwich
Activity points
1,463
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 250 Byte.

Can the DMA be halted or operation cancel when CS goes HIGH without risk of memory corruption. If so how to do this?

Anyone?
 

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…