- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello, I`m using FX3.
In SPIDMAMODE, I want to write/read n byte data.
CyU3PSpiSetSsnLine (CyFalse);
status = CyU3PSpiReceiveWords (buf, 3);
CyU3PSpiSetSsnLine (CyTrue);
When i run above code, the period of each byte is 1 micro-second.
How can I reduce this delay between subsequent SPI transfers.
p.s. CyU3PSpiSetTimeout function is not working...
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
CyU3PSpiReceiveWords is not a DMA function. Its a register function. In my project i also use SPI in DMA mode and there is 0 delay between bytes. Look at the spidma example firmware project. It should get you started.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
CyU3PSpiReceiveWords is not a DMA function. Its a register function. In my project i also use SPI in DMA mode and there is 0 delay between bytes. Look at the spidma example firmware project. It should get you started.