SPI DMA and toggling CS

Links to different kind of modules, or modules of your own based on the RTL8710 chip, post hem here
Posts: 53
Joined: Fri Aug 12, 2016 3:43 am
Location: ON, Canada

SPI DMA and toggling CS

Postby kissste » Fri Dec 30, 2016 4:21 am

I'm having trouble with toggling CS pin when running SPI in DMA mode.

It does not toggle/switch CS when if I keep supplying continuous DMA stream (on an interrupt send a next DMA). I would like it be able to specify that I want it switch/toggle CS once one DMA transfer is finished.

The only way to toggle CS is let the DMA channel close, but then re-opening it takes over 8 us and I need max 3.2us. I was able reduce it to 5.7us by re-writing SDK provided libraries but to go any further I need to replace ROM functions.

Any suggestions? Thank you very much.

Return to “Modules”

Who is online

Users browsing this forum: No registered users and 1 guest