- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
When using the SPI slave tx software buffer in the API, how do I get an interrupt when a transfer is complete?
I.e. not when the software buffer has been transferred into the FIFO, but when the last byte of the transfer placed in the soft buffer has started to come out of the TX pin.
Solved! Go to Solution.
- Labels:
-
PSoC 5 Device Programming
-
PSoC 5LP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Please navigate to the "Advanced" tab of SPI configuration window and enable interrupts according to your application.
If you require an interrupt to be generated when a transfer is complete, you could enable the following interrupts:
1. Interrupt on SPI done
2. Interrupt on Tx FIFO Empty
You can also refer to component datasheet, available at http://www.cypress.com/file/185846/download (Page 9)
Thanks,
Shanmathi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Modifying the SPIS DMA example to do the same would also work for me.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Please navigate to the "Advanced" tab of SPI configuration window and enable interrupts according to your application.
If you require an interrupt to be generated when a transfer is complete, you could enable the following interrupts:
1. Interrupt on SPI done
2. Interrupt on Tx FIFO Empty
You can also refer to component datasheet, available at http://www.cypress.com/file/185846/download (Page 9)
Thanks,
Shanmathi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am doing the same thing, but where does the interrupt for the SPI vector to, I expected to see an SPI_Int.c listing, but did not?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Never mind, found it