mdakram149
Newbie level 1
Hi all,
i am using vcu118 kit, i am trying to access QSPI flash present in it. i have QSPI controller using basic device driver i am trying to read and write the data in quad mode. In vcu118 kit we have Micron MT25Q flash memory, i can able to read and write in single extended mode. i have gone through the datasheet. it says by default QSPI flash memory is in single mode to activate in quad mode.
first we configure the QSPI controller in default mode and then we have to write 0x7F in enhanced volatile configuration register with command of 0x61. before that we have to send write enable command 0x06. then flash memory will be configured in quad mode and we have to configure the controller in quad mode.
for basic testing i was just trying to READ ID code in quad mode by sending command 0XAF in quad mode. but i am unable to get the ID CODE in quad mode it is showing all FF.
i have tried reading the register after writing 0X7F in it. it is still 0XFF.
i cant able to understand what is wrong in it? can anyone please tell me, what else should be done to configure qspi in quad mode
and just read id code in quad mode
i am attaching the qspi datasheet
i am using vcu118 kit, i am trying to access QSPI flash present in it. i have QSPI controller using basic device driver i am trying to read and write the data in quad mode. In vcu118 kit we have Micron MT25Q flash memory, i can able to read and write in single extended mode. i have gone through the datasheet. it says by default QSPI flash memory is in single mode to activate in quad mode.
first we configure the QSPI controller in default mode and then we have to write 0x7F in enhanced volatile configuration register with command of 0x61. before that we have to send write enable command 0x06. then flash memory will be configured in quad mode and we have to configure the controller in quad mode.
for basic testing i was just trying to READ ID code in quad mode by sending command 0XAF in quad mode. but i am unable to get the ID CODE in quad mode it is showing all FF.
i have tried reading the register after writing 0X7F in it. it is still 0XFF.
i cant able to understand what is wrong in it? can anyone please tell me, what else should be done to configure qspi in quad mode
and just read id code in quad mode
i am attaching the qspi datasheet