cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F767 QSPI Slave

neetha_jyo98
Associate

Hi,

I have the following questions about QSPI in STM32F767:
1.  Is it possible to configure the board as QSPI Slave? I could not find any option in the CubeMX Tool to choose between master and slave. 
2. Is the QSPI peripheral of this board strictly limited to interfacing only QSPI flash devices? In other words, is it possible to interface a QSPI slave which is not a flash device?
3. Is it possible to configure the normal SPI peripheral to work as QSPI?

 

I referred the below link, which states that QSPI is strictly master-driven. But I would like to confirm this statement.

https://community.st.com/t5/stm32-mcus-products/is-it-possible-to-configure-the-qspi-as-slave-to-receive-data/td-p/363586

 

@Jaroslav BECKA 

1 ACCEPTED SOLUTION

Accepted Solutions

>>But I would like to confirm this statement.

By someone repeating it to you, or you actually confirming it be reading the manuals and trying a couple of things to rule operation in or out?

You can use anything that meets the protocol requirements, like a FPGA/CPLD, RAM, NAND FLASH, NOR FLASH, etc. The F7 supports memory-mapping for READ operations, here consider this just using a command template that works normally, and the STM32 peripheral just masks and stuffs in the ADDRESS of the access in normal operation. You need to ABORT the QSPI to get it out of this mode and back to one where you can send commands.

No, it doesn't support SLAVE operation, bit to fast and awkward to do in any case, it's a protocol better implemented completely in HW and state-machines, see CPLD/FPGA for how you'd approach a device running at 50-100 MHz type rates, it's not SW and not interrupts..

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..

View solution in original post

2 REPLIES 2
SofLit
ST Employee

Hello @neetha_jyo98 ,

 

For your first question. Yes, it's only QSPI master interface.

To give better visibility on the answered topics, please click on "Accept as Solution" on the reply which solved your issue or answered your question.

>>But I would like to confirm this statement.

By someone repeating it to you, or you actually confirming it be reading the manuals and trying a couple of things to rule operation in or out?

You can use anything that meets the protocol requirements, like a FPGA/CPLD, RAM, NAND FLASH, NOR FLASH, etc. The F7 supports memory-mapping for READ operations, here consider this just using a command template that works normally, and the STM32 peripheral just masks and stuffs in the ADDRESS of the access in normal operation. You need to ABORT the QSPI to get it out of this mode and back to one where you can send commands.

No, it doesn't support SLAVE operation, bit to fast and awkward to do in any case, it's a protocol better implemented completely in HW and state-machines, see CPLD/FPGA for how you'd approach a device running at 50-100 MHz type rates, it's not SW and not interrupts..

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..