Apr 20, 2020
09:59 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Apr 20, 2020
09:59 AM
Hello Support,
For Aurix 1G QSPI Peripheral, is it possible to use as Dual I/O SPI Mode for interfacing with Serial NOR Flash Slave devices?
If yes, can you please provide me some lead regarding the Register Bit settings which will make QSPI behave as Dual I/O SPI Master controller.
Initially the Command from Master to Slave happens using Legacy Single SPI Mode. But then Slave and Master switches to Dual I/O Mode of SPI.
I am attaching some snippets from public links to explain Dual I/O SPI Protocol so that you can better understand the requirements.

https://www.macronix.com/Lists/ApplicationNote/Attachments/1899/AN0251V1%20-%20Macronix%20Serial%20F...

https://www.winbond.com/resource-files/w25q32jw%20spi%20revf%2009042018.pdf
Best Regards
For Aurix 1G QSPI Peripheral, is it possible to use as Dual I/O SPI Mode for interfacing with Serial NOR Flash Slave devices?
If yes, can you please provide me some lead regarding the Register Bit settings which will make QSPI behave as Dual I/O SPI Master controller.
Initially the Command from Master to Slave happens using Legacy Single SPI Mode. But then Slave and Master switches to Dual I/O Mode of SPI.
I am attaching some snippets from public links to explain Dual I/O SPI Protocol so that you can better understand the requirements.
https://www.macronix.com/Lists/ApplicationNote/Attachments/1899/AN0251V1%20-%20Macronix%20Serial%20F...
https://www.winbond.com/resource-files/w25q32jw%20spi%20revf%2009042018.pdf
Best Regards
- Tags:
- IFX
4 Replies
Apr 20, 2020
10:13 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Apr 20, 2020
10:13 AM
baexps_pr1 wrote:
For Aurix 1G QSPI Peripheral, is it possible to use as Dual I/O SPI Mode for interfacing with Serial NOR Flash Slave devices?
No, the QSPI on AURIX is a traditional SPI implementation with dedicated data bits. One for each direction (MTSR and MRST).
Apr 20, 2020
10:56 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Apr 20, 2020
10:56 AM
True, but you could get clever with a DMA transaction set:
Send 3B and the 24-bit address over QSPI
Flip the MTSR port to an input by setting Px_IOCRn = 0xxxxb
Clock in the remaining data bytes
Send 3B and the 24-bit address over QSPI
Flip the MTSR port to an input by setting Px_IOCRn = 0xxxxb
Clock in the remaining data bytes
Apr 20, 2020
11:27 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Apr 20, 2020
11:27 AM
Hello Support,
If I change the MTSR Pin as Input, will it work because the Shift Register on the QSPI side is only connected to MRST Pin I suppose.
Or that Shift Register as shown in the picture below from TC27x User Manual version 1.3, has Shift Register which can collect both MTSR and MRST pins simultaneously and order them accordingly?
Please confirm with some more details with respect to this picture below if the Shift Register will work, because I am assuming it is not the design intent by AURIX designers to change the MTSR pin as Input Mode during SPI communication.

Best Regards
If I change the MTSR Pin as Input, will it work because the Shift Register on the QSPI side is only connected to MRST Pin I suppose.
Or that Shift Register as shown in the picture below from TC27x User Manual version 1.3, has Shift Register which can collect both MTSR and MRST pins simultaneously and order them accordingly?
Please confirm with some more details with respect to this picture below if the Shift Register will work, because I am assuming it is not the design intent by AURIX designers to change the MTSR pin as Input Mode during SPI communication.
Best Regards
Apr 20, 2020
11:34 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Apr 20, 2020
11:34 AM
If you change MTSR to an input, there's no change from the QSPI peripheral's point of view - it is still transmitting data. It's just that it's no longer connected to the output port.