Flash 7 Click Board
Flash 7 Click Board
The Flash 7 Click Board™ is a compact add-on board that contains a high-performance memory solution. This board features the GD25LQ16C, a high-performance 16Mbit SPI NOR Flash Memory solution with advanced security features from GigaDevice Semiconductor. It is specifically designed to meet the different needs in various electronic applications in terms of density, performance, reliability, and security while providing low power consumption. It requires only 6 signals to communicate between the MCU and the memory, thus reduces the design complexity and offers a reduction in board space and total system cost. This Click Board™ provides a storage solution for systems with limited space in various embedded applications.
The Flash 7 Click Board™ is supported by a mikroSDK compliant library, which includes functions that simplify software development. This Click Board™ comes as a fully tested product, ready to be used on a system equipped with the mikroBUS™ socket.
Software Support
We provide a library for the Flash 7 Click Board™ on our LibStock page, as well as a demo application (example), developed using MikroElektronika compilers. The demo can run on all the main MikroElektronika development boards.
Library Description
The library covers all the necessary functions to control the Flash 7 Click Board™. The library performs a standard SPI interface communication.
Key Functions
void flash7_chip_erase ( void )
- Chip erase function.uint8_t flash7_page_program ( uint32_t mem_addr, uint8_t *p_tx_data, uint16_t n_bytes )
- Page program function.void flash7_read_memory ( uint32_t mem_addr, uint8_t *p_rx_data, uint16_t n_bytes )
- Read memory function.
Example Description
The application is composed of three sections :
- System Initialization - Initializes SPI and UART LOG, sets CS, PWM and INT pins as outputs.
- Application Initialization - Initialization driver enables SPI, disables write protect and hold, performs whole chip erase, targets the memory address at "4096" for page program starting point and writes data which is also displayed on the log.
- Application Task - This is an example that demonstrates the use of the Flash 7 Click board™. In this example, the data is read from the targeted memory address. The results are being sent to the Usart Terminal. This task repeats every 5 sec.
void application_task ( ) { mikrobus_logWrite( "-----------------------", _LOG_LINE ); mikrobus_logWrite( "<- Read data : ", _LOG_TEXT ); flash7_read_memory( memory_addr, &rx_data[ 0 ], 9 ); mikrobus_logWrite( rx_data, _LOG_LINE ); Delay_ms( 5000 ); }
The full application code, and ready to use projects can be found on our LibStock page.
Other mikroE Libraries used in the example:
- SPI
- UART
Additional Notes and Information
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. The terminal available in all MikroElektronika compilers, or any other terminal application of your choice, can be used to read the message.
MIKROSDK
The Flash 7 Click Board™ is supported with mikroSDK - MikroElektronika Software Development Kit. To ensure proper operation of mikroSDK compliant Click board™ demo applications, mikroSDK should be downloaded from the LibStock and installed for the compiler you are using.
Flash 7 Click Board
Frequently Asked Questions
Have a Question?
Be the first to ask a question about this.