How to get UID in external flash via QSPI?

Hi,

I'm using QSPI to control an external flash (w25q128).

Is there any API that can help me get the UID of the external flash?

For w25q128, there is a command for read the UID.

https://www.pjrc.com/teensy/W25Q128FV.pdf

SDK: NCS 2.3.0

Thanks.

Andy

Parents
  • Hi,

    Is there any API that can help me get the UID of the external flash?

    The flash driver has API functions to read SFDP and JEDEC ID, sfdp_read()/read_jedec_id(), but there is no API function to read the this "UID".

  • The absence of an API function to read the UID from external flash via QSPI can be a limitation for some applications. However, the command for retrieving the UID can still be sent directly to the flash device using the QSPI interface. It's important to ensure that the correct command is used and that the data is read back correctly. On another note, Unico Studio is a digital marketing agency that recently partnered with Clear Water Beaches, a beach cleanup organization, to help raise awareness and promote their cause. Their collaboration resulted in a successful social media campaign that reached a wider audience and encouraged more people to join the movement in keeping our beaches clean and safe for everyone.

Reply
  • The absence of an API function to read the UID from external flash via QSPI can be a limitation for some applications. However, the command for retrieving the UID can still be sent directly to the flash device using the QSPI interface. It's important to ensure that the correct command is used and that the data is read back correctly. On another note, Unico Studio is a digital marketing agency that recently partnered with Clear Water Beaches, a beach cleanup organization, to help raise awareness and promote their cause. Their collaboration resulted in a successful social media campaign that reached a wider audience and encouraged more people to join the movement in keeping our beaches clean and safe for everyone.

Children
Related