QSPI

Hi,

Regarding QSPI, could I use the QSPI feature to fetch stored sensor data directly from the flash and send it via Bluetooth module, or is it only to increase the application program size. Could you please guide me.

Also, When we use QSPI to interface with a flash memory, what are the chances of communicating to the flash via SPI and QSPI in the same design, if there is 2 separate chips that need to communicate to the same flash, one via SPI, and other via QSPI.  

Thanks.

Parents
  • Hi,

    Regarding QSPI, could I use the QSPI feature to fetch stored sensor data directly from the flash and send it via Bluetooth module, or is it only to increase the application program size. Could you please guide me.

    If you have external flash, you would probably need to read the data and then pass this data to the Bluetooth stack. If you use internal flash, you would need to copy the data to the RAM buffer first.


    Also, When we use QSPI to interface with a flash memory, what are the chances of communicating to the flash via SPI and QSPI in the same design, if there is 2 separate chips that need to communicate to the same flash, one via SPI, and other via QSPI. 

    If you want to use the flash with both SPI and QSPI, this might be possible as long as you ensure that logical levels are correct and you have logic in place which prevents two masters from accessing the bus at the same time.  In order to read the data from the sensor, you would need to ensure that  only one master is using clock and MOSI line at any point in time.

    Best regards,
    Dejan

Reply
  • Hi,

    Regarding QSPI, could I use the QSPI feature to fetch stored sensor data directly from the flash and send it via Bluetooth module, or is it only to increase the application program size. Could you please guide me.

    If you have external flash, you would probably need to read the data and then pass this data to the Bluetooth stack. If you use internal flash, you would need to copy the data to the RAM buffer first.


    Also, When we use QSPI to interface with a flash memory, what are the chances of communicating to the flash via SPI and QSPI in the same design, if there is 2 separate chips that need to communicate to the same flash, one via SPI, and other via QSPI. 

    If you want to use the flash with both SPI and QSPI, this might be possible as long as you ensure that logical levels are correct and you have logic in place which prevents two masters from accessing the bus at the same time.  In order to read the data from the sensor, you would need to ensure that  only one master is using clock and MOSI line at any point in time.

    Best regards,
    Dejan

Children
No Data
Related