Replies: 5 comments 9 replies
-
Example of polling for erase/program completion: |
Beta Was this translation helpful? Give feedback.
-
refer to #78186 |
Beta Was this translation helpful? Give feedback.
-
Hi, If device mode switching is involved between register access and memory access, the switching should be handled via mspi_device_config and the device state should be managed by the device driver. |
Beta Was this translation helpful? Give feedback.
-
No need to pass this to the controller. You should initiate a device register read operation via mspi_transceive and process the data returned.
You could use whatever command you like.
You could send the polling command repeatedly in a loop until condition is satisfied.
This function should be in the flash device driver. |
Beta Was this translation helpful? Give feedback.
-
thanks @swift-tk for your answers. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
What is the way to wait pin polling for WEL or WIP bits of a NOR flash ?
When implementing the MSPI device for one octo-spi NOR (example the Macronix MX25LM51245), it appears that some commands sent to the flash are polling for a bit of the its status register to be declared as "complete" or "ready"
In the drivers/flash/spi_nor.h this is known as / Flash Auto-polling values / a combination of a
to read the status Register in a loop (with a Timeout guard) and poll the associated bit
Typically, this sequence is implemented in the following situations:
I did not find a clear solution to proceed.
What could be this equivalent implementation with a flash MSPI device on a MSPI (controller) bus ?
As long as the flash_mspi_xx device only talks with mspi_transceive function to the MSPI controller,
Any help/suggestion welcome
Beta Was this translation helpful? Give feedback.
All reactions