AnsweredAssumed Answered

Speed up SPI KV58

Question asked by Ken Samuelson on Jul 31, 2019
Latest reply on Aug 6, 2019 by Ken Samuelson

I'm using a Tower KV58 Demo board trying to talk to a AD5601 SPI 16-bit DAC

 

I have been able to talk to the DAC fine using the attached program.  It has a 24 Bit transfer with the first 8 bits 0's and the other 16 bits the data bits. 

What I'm seeing as 1.2 us of DAC transfer and then 7.3 us of delay., for a total of about 8.5 us between DAC writes.  The DAC can take data with only a 1 us delay.   I need to get the current 7.3 us delay down to less than 4 us.  I don't need a  SPI read since the data is useless after 4 us, so just move on to the next write. 

 

I tried increasing the TRANSFER_BAUDRATE to 32000000 but that didn't work with the TOWER KV58. I thought this would have solved the problem. 

 

Possibly I'm not using the right technology for this (Master Half Duplex DMA).  I have tried some other Tower Board examples but this is the best I've gotten so far.

 

Any suggestions would be greatly appreciated. 

Outcomes