Oct 08, 2021
05:02 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Oct 08, 2021
05:02 AM
Hello,
I am using TC375 with Aurix Development Studio and iLLD. I would like to know how to use QSPI module in polling mode, so without interrupts and without DMA.
iLLD document does not provide any example regarding the polling mode.
Thank you in advance.
Greetings
I am using TC375 with Aurix Development Studio and iLLD. I would like to know how to use QSPI module in polling mode, so without interrupts and without DMA.
iLLD document does not provide any example regarding the polling mode.
Thank you in advance.
Greetings
Solved! Go to Solution.
- Tags:
- IFX
1 Solution
Oct 20, 2021
04:58 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Oct 20, 2021
04:58 PM
Here is a simple example that I use for polling mode when you are using the QSPI in Short mode. The QSPI FIFO is 4 entries deep and if you are only writing to one device you don't need to write the BACON.
uint16 QSPI2_ExchangeData (uint16 value)
{
QSPI2_BACONENTRY.U = tle9263_bacon.U;
QSPI2_DATAENTRY0.U = value;
while (QSPI2_STATUS.B.RXFIFOLEVEL == 0)
;
return (uint16) QSPI2_RXEXIT.U;
}
1 Reply
Oct 20, 2021
04:58 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Oct 20, 2021
04:58 PM
Here is a simple example that I use for polling mode when you are using the QSPI in Short mode. The QSPI FIFO is 4 entries deep and if you are only writing to one device you don't need to write the BACON.
uint16 QSPI2_ExchangeData (uint16 value)
{
QSPI2_BACONENTRY.U = tle9263_bacon.U;
QSPI2_DATAENTRY0.U = value;
while (QSPI2_STATUS.B.RXFIFOLEVEL == 0)
;
return (uint16) QSPI2_RXEXIT.U;
}