This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

SPIM DMA List Array Example / Documentation S132 SDK 15.3

Interfacing to CC3100 and need to send socket data over spi that is 1400 bytes.

Assuming I would need to send 200 bytes X 7 and try to get the list array to work.

But there are no examples that help and I wonder where the "easy" in EasyDMA can be found.

Is the CS taken care of automatically or do you add code to control it outside of the spim functions ?

What is required in SDK 15.3 in order to transfer 200 X 7 bytes ?  The examples I have seen seem to require a master degree in PPI, multiple timers and a bit of magic.

The spim is working fine in terms of talking to the CC3100 for commands and anything under 256 bytes.

Also, how do you switch on the fly from doing a tx/rx of say 4 bytes and then a burst of 1400 bytes and then back to a tx len of 4 bytes ?

Do you have to disable the spi before changing the configuration or can it be done as long as the transfer is complete ?

A working example would go a long way in helping me and others. Well maybe others find it much easier but in anycase examples would be helpful.

Related