- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Community,
I want to upgrade the firmware of the CYW43907 from stm32 controller.
I have found the pins on the Quicksilver Evaluation board.
I am putting the binary files of the CYW43907 in the STM32 firmware. I am also aware about the locations of the binary files to write in the flash memory.
Now, I want to write the driver in the STM controller to program the Nor flash memory of CYW43907.
Can anyone suggest which document or code I should refer for writing SPI nor flash. Like, I may require to write some status register for spi flash write, read.
Thanks,
Hiren
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Hiren,
Please see this AN - AN98542 - Designing a Serial Peripheral Interface (cypress.com). It will provide you a basic overview of SPI interface of our Flash devices. Section '5.2 Page Program Operation and How to Check Status' tells you the detailed steps of programming.
Kindly go through the AN once, then let me know if you have any more queries.
You can also consider using our low level driver for SPI flash in your application. You can download the driver from here - Low Level Driver for SPI Flash (cypress.com). A sample project implementation using the LLD is attached in this thread - Solved: S25FL064L 64-Mb (8-MB), 3.0 V FL-L SPI Flash Memor - Cypress Developer Community. You can also go through it for better understanding.
Thank you and Regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Hiren,
Can you please clarify whether you are referring to the internal flash of CYW43907 or the external Cypress 64Mb Quad SPI FL-L NOR Flash present on the Quicksilver Evaluation board?
Regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
HI @Apurva_S ,
Thanks for quick reply,
I am referring to external flash connected at the address 0x14000000.
Thanks,
Hiren
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Hiren,
Please see this AN - AN98542 - Designing a Serial Peripheral Interface (cypress.com). It will provide you a basic overview of SPI interface of our Flash devices. Section '5.2 Page Program Operation and How to Check Status' tells you the detailed steps of programming.
Kindly go through the AN once, then let me know if you have any more queries.
You can also consider using our low level driver for SPI flash in your application. You can download the driver from here - Low Level Driver for SPI Flash (cypress.com). A sample project implementation using the LLD is attached in this thread - Solved: S25FL064L 64-Mb (8-MB), 3.0 V FL-L SPI Flash Memor - Cypress Developer Community. You can also go through it for better understanding.
Thank you and Regards.