flash9 2.0.0.0
|
Flash 9 Click is a compact add-on board that contains a highly reliable memory solution. This board features the W25Q02JV, an SPI configurable serial Flash memory solution from Winbond Electronics. It represents a four 512Mb stack die supporting linear addressing for the full 2Gb memory address range, offering flexibility and performance well beyond ordinary Serial Flash devices. The W25Q02JV array is organized into 1,048,576 programmable pages of 256-bytes each, where up to 256 bytes can be programmed at a time. This memory also has advanced security features, can withstand many write cycles (minimum 100k), and has a data retention period greater than 20 years.
We provide a library for the Flash 9 Click as well as a demo application (example), developed using MikroElektronika compilers. The demo can run on all the main MikroElektronika development boards.
Package can be downloaded/installed directly from NECTO Studio Package Manager(recommended way), downloaded from our LibStock™ or found on Mikroe github account.
This library contains API for Flash 9 Click driver.
flash9_cfg_setup
Config Object Initialization function. flash9_init
Initialization function. flash9_default_cfg
Click Default Configuration function. flash9_erase_memory
This function erases the selected amount of memory which contains the selected address. flash9_memory_write
This function writes a desired number of data bytes to the memory starting from the selected address. flash9_memory_read_fast
This function reads a desired number of data bytes from the memory starting from the selected address performing the fast read command. This example demonstrates the use of Flash 9 click board by writing specified data to the memory and reading it back.
The demo application is composed of two sections :
Initializes the driver and performs the click default configuration.
Erases the memory sector and then writes a desired number of data bytes to the memory
and verifies that it is written correctly by reading from the same memory location and displaying the memory content on the USB UART.
The full application code, and ready to use projects can be installed directly from NECTO Studio Package Manager(recommended way), downloaded from our LibStock™ or found on Mikroe github account.
Other Mikroe Libraries used in the example:
Additional notes and informations
Depending on the development board you are using, you may need USB UART click, USB UART 2 Click or RS232 Click to connect to your PC, for development systems with no UART to USB interface available on the board. UART terminal is available in all MikroElektronika compilers.