Hello I am having issues doing a simple FlexSPI transaction to read a vendor ID on my flash chip. I am using a custom board with a RT600 and Winbond 4Gb NAND chip, the W25Q64JW, see data sheet here connected over SPI to flexspi port A:
https://www.winbond.com/hq/support/documentation/levelOne.jsp?__locale=en&DocNo=DA00-W25N04KW
What I am trying to do is read the JDEC ID, from the data sheet, should be pretty simple
I defined a command in my LUT to do this, so the sequence should be:
Code for entry into LUT looks like this,
Used the configurator to do a simple initialization for the flexspi config, you can see here,
Here is my initialization for the device config as well as the LUT,
Now I want to run my "NOR_CMD_LUT_SEQ_IDX_READID" sequence, here is the code
I am probing the communication lines, and it looks perfect, exactly how I would expect:
Given this, I would expect that the FW read the ID as 0xEF, 0xBA, 0x23. However, my buff is only showing that it read all 0s. See debugger output here,
I am starting to scratch my head here, I have tried everything I could think of with configurations and usage etc. Is there something basic here I am missing? How do I actually access that vendor ID from my firmware that is sent over SPI? Is there something with my configuration or initialization that looks off? Is there a possible hardware issue I should look into? I am starting to pull my hair out here, this is the simplest use case I can do with this FlexSPI with no luck to read that vendor ID. Any guidance as to why its not showing up in my Firmware would be greatly appreciated, let me know if you need any more info
Hi,
Thank you for your interest in NXP Semiconductor products and for the opportunity to serve you.
I think I need more information, so I was wondering if you can upload the schematic of the board, further, I hope you can share the demo code too.
Have a great day,
TIC
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------