Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions boards/shields/mikroe_flash_8_click/Kconfig.shield
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Copyright The Zephyr Project Contributors
# SPDX-License-Identifier: Apache-2.0

config SHIELD_MIKROE_FLASH_8_CLICK
def_bool $(shields_list_contains,mikroe_flash_8_click)
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
48 changes: 48 additions & 0 deletions boards/shields/mikroe_flash_8_click/doc/index.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
.. _mikroe_flash_8_click_shield:

MikroElektronika Flash 8 Click
================================

Overview
********

`Flash 8 Click`_ is a compact add-on board representing a highly reliable memory solution.

This board features the GD5F2GQ5UEYIGR, a 2Gb high-density non-volatile memory storage solution
for embedded systems from GigaDevice Semiconductor. It is based on an industry-standard NAND Flash
memory core, representing an attractive alternative to SPI-NOR and standard parallel NAND Flash
with advanced features. The GD5F2GQ5UEYIGR also has advanced security features (8K-Byte OTP region),
software/hardware write protection, can withstand many write cycles (minimum 100k), and has a data
retention period greater than ten years.

.. figure:: images/mikroe_flash_8_click.webp
:align: center
:alt: Flash 8 Click
:height: 300px

Flash 8 Click

Requirements
************

This shield can only be used with a board that provides a mikroBUS™ socket and defines a
``mikrobus_spi`` node label for the mikroBUS™ SPI interface. See :ref:`shields` for more
details.

Programming
***********

Set ``--shield mikroe_flash_8_click`` when you invoke ``west build``. For example:

.. zephyr-app-commands::
:zephyr-app: samples/drivers/flash_shell
:board: frdm_mcxn947/mcxn947/cpu0
:shield: mikroe_flash_8_click
:goals: build

References
**********

- `Flash 8 Click`_

.. _Flash 8 Click: https://www.mikroe.com/flash-8-click
26 changes: 26 additions & 0 deletions boards/shields/mikroe_flash_8_click/mikroe_flash_8_click.overlay
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
/*
* Copyright The Zephyr Project Contributors
* SPDX-License-Identifier: Apache-2.0
*/

&mikrobus_spi {
status = "okay";
cs-gpios = <&mikrobus_header 2 GPIO_ACTIVE_LOW>;

spi_nand_mikroe_flash_8_click: spi-nand@0 {
compatible = "jedec,spi-nand";
reg = <0>;
status = "okay";
spi-max-frequency = <104000000>;

/* gd5f2gq5ue parameters */
jedec-id = [c8 52];
size-bytes = <DT_SIZE_M(256)>;
erase-block-size = <DT_SIZE_K(128)>;
write-block-size = <DT_SIZE_K(2)>;
block-erase-duration-max = <5000>;
page-program-duration-max = <600>;
page-read-duration-max = <200>;
reset-duration-max = <500>;
};
};
6 changes: 6 additions & 0 deletions boards/shields/mikroe_flash_8_click/shield.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
shield:
name: mikroe_flash_8_click
full_name: Flash 8 Click
vendor: mikroe
supported_features:
- mtd
Loading