This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

[K2G] QSPI Memory

Other Parts Discussed in Thread: 66AK2G02

Hi,
I have a quetion about QSPI boot for 66AK2G02. My customer want to use Quad I/O as read command.
We can't find QSPI Flash memory to be able to use as boot memory.

According to TRM of 66AK2G02, QSPI boot can configure as below.
[TRM p.289]




And then, I have checked the datasheet of some SPI Flash memories to confirm the connection with K2G. Cypress, Winbond....
As the result Quad I/O Read Sequence are  
-  Number of pins driven for CMD is 1.
-  Mode byte must be used. And the number of pins driven for Mode is 4. (CMD and Mode pins number is different?)
-  Number of pins driven for Address is 4.
-  Number of cycles for Dummy is 4.
These are the specification of SPI Flash memory. Please compare this memory specifiation with K2G QSPI configuraions. 

So, QSPI Read Command Sequence don't match. At least, Dummy cycle never match.
I have never seen QSPI memory that can be used as boot memory for K2G.  Is my understanding correct?


For example, The following is Quad I/O Read Command Sequence of S25FL512SAGMFI011.
(S25FL512SAGMFI011 is used by K2GEVM) 


Can K2G bootlader read from this S25FL512SAGMFI011 using QSPI I/F?


Best Regards,
Taka

  • Hi Taka,

    I've notified the support team. Their feedback will be posted directly here.

    Best Regards,
    Yordan
  • Taka,

    I can confirm that the QSPI boot (both at 48Mhz and 96 Mhz) has been validated with the COMMAND Pin mode 0, 1 and 2. This pin mode specs match with the CYPRESS spec as you can see from the snapshot below:

    The QSPI flash doesn`t need to support all the modes specified in the spec. you can pick a QSPI flash device that matches with any of the modes supported in the BootROM and then set the COMMAND PIN setting in BOOTMODE field of the BOOTCFG_DEVSTAT register accordingly. 

    I am checking with the BootROM spec owner which other READ modes have been validated.

    Regards,

    Rahul

  • More information from the BootROM author:

    Command pin 0 has also been tested with the S25FL512S.

    For mode 5 to 7 the flash provides non-volatile registers to program number of dummy cycles to support in that mode. The customer must program the number of dummy cycles in non-volatile register 1 to match what the boot ROM is expecting if they want to use modes 5-7.

    Hope this helps.

    Regards,
    Rahul

  • Hi Rahul,
    Thank you for your quick response.
    Oh, I misunderstood. K2G ROM can boot from QSPI Flash Memory by using Mode2(0x6B) for Quad Read.
    I'm sorr for bothering you.

    Best Regards,
    Takahiro Ogo

  • No problem Takahiro-san. Happy to help. Let us know if there are any further questions regarding this matter that we can help address by providing more information in the documentation.