DSPRelated.com
Forums

40 bit SPI transfers with McBSP master

Started by lolo_mk1 June 30, 2005
Hi,

I'm trying to work out how to do this. My current idea is...

1. unpack 16 bit words into 8 bit words so the DMA can copy over each
word correctly.

2. Setup the DMA, 16 bit transfers.

3. McBSP for SPI operation, XFRLEN1 = 4 (5 - 1), XWDLEN = 8bits.

I can't actually test this out yet so I was hoping whether someone
well versed in 54xx theory could tell me if it works. If it does, this
approach is fairly inefficient. Is there a better way to do it?

Thanks
Aaron