Feb 22, 2019
03:10 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Feb 22, 2019
03:10 PM
I note a gap between each byte in an array being sent over SPI (using 5LP SPIM component).
Is there a way to prevent this? I assume that it is caused by software polling to see when byte has been sent.
My code is sending and receiving an array and can be blocking until all bytes have been sent.
I have seen DMA used but would this be useful mainly when you want to continue processing other commands while SPI is being sent.
Maybe I should be using an interrupt and checking the the flag instead of reading SPI status between each byte?
Thanks
Labels
- Labels:
-
PSoC 5 Device Programming
-
PSoC 5LP
14 Replies