Jump to content
  • 0

Writing SPI data with a small delay between bytes?


alexpeck

Question

Hi,

I'm writing some data to a slower SPI slave device using  a WaveForms script. 

It's working well at slow clock speeds.  However, the device specs indicate it needs a small (8usec or more) delay between bytes at higher SPI clock speeds.

Is there a simple way to add such a delay with the existing SPI Read(), Write(), & ReadWrite() commands?

Or will I need to change to single byte transfers, with a wait() in between each?

 

Thanks,

 

Alex

Link to comment
Share on other sites

6 answers to this question

Recommended Posts

Hi Atilla,

 

Just wondering if the SPI Interbyte delay option has been added.  It would be ideal if the delay resolution could be as low as 1 microsecond.

FYI...In the interim, I have been testing using the pattern generator to manually create individual SPI commands with small delays in them.

Thanks,

Alex

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...