# Title: DRAM Click Board™ ## Description: How Does The DRAM Click Board™ Work? The DRAM Click Board™ is based on the APS6404L-3SQR, a 64Mb PSRAM (Pseudo-Static RAM) memory with an SPI/QPI interface from AP Memory. Organized as 8M x 8 bits each, this memory also has a page size of 1024 bytes alongside high speed and high performance. It also incorporates a seamless self-managed refresh mechanism specially designed to maximize the performance of memory read operation (it does not require the support of DRAM refresh from the system host). It is most suitable for low-power and low-cost portable applications. The APS6404L-3SQR communicates with MCU using the SPI serial interface that also supports Quad SPI and the two most common modes, SPI Mode 0 (QSPI Mode 1), with a maximum SPI frequency of 133MHz. The APS6404L-3SQR includes an on-chip voltage sensor used to start the self-initialization process. When the main power supply voltage reaches a stable level at or above the minimum supply voltage level, the device will require 150μs and user-issued RESET Operation to complete its self-initialization process. The device powers up in SPI Mode by default configuration but can also be switched into QPI mode. Besides, it is required to have a CS pin on a high logic level before beginning any operations. The DRAM Click Board™ can be operated only with a 3.3V logic voltage level. The board must perform appropriate logic voltage level conversion before using MCUs with different logic levels. However, the Click board™ comes equipped with a library containing functions and an example code that can be used, as a reference, for further development. SPECIFICATIONS Type DRAM Applications Can be used for low-power and low-cost portable applications On-board modules APS6404L-3SQR - 64Mb PSRAM (Pseudo-SRAM) memory from AP Memory Key Features Low power consumption, SPI/QPI with SDR mode, high performance, organized as 8M x 8bits, page size of 1024 bytes, self-managed refresh mechanism, software reset, and more Interface QSPI,SPI Compatibility mikroBUS Click board size S (28.6 x 25.4 mm) Input Voltage 3.3V PINOUT DIAGRAM This table shows how the pinout of the DRAM Click Board™ corresponds to the pinout on the mikroBUS™ socket (the latter shown in the two middle columns). Notes Pin Pin Notes NC 1 AN PWM 16 IO2 QSPI IO2 QSPI IO3 IO3 2 RST INT 15 NC SPI Chip Select CS 3 CS RX 14 NC SPI Clock SCK 4 SCK TX 13 NC SPI Data OUT / QSPI IO1 SDO 5 MISO SCL 12 NC SPI Data IN / QSPI IO0 SDI 6 MOSI SDA 11 NC Power Supply 3.3V 7 3.3V 5V 10 NC Ground GND 8 GND GND 9 GND Ground ONBOARD SETTINGS AND INDICATORS Label Name Default Description LD1 PWR - Power LED Indicator DRAM CLICK ELECTRICAL SPECIFICATIONS Description Min Typ Max Unit Supply Voltage - 3.3 - V Memory Size - - 64 Mb Operating Temperature Range -25 +25 +85 °C ## Product type: Click Board ## Vendor: Mikroelektronika d.o.o. ## Tags: AP Memory, Click Board, DRAM, Maxim Integrated, Memory ## Price range: 7.7 - 7.7 GBP ## Link: https://thedebugstore.com/products/mikroe-5337-dram-click-board ## Compare-at price range: 11.0 - 11.0 GBP ## Options - Title: Default Title ## Collections - [New Products](https://thedebugstore.com/a/llms/collections/new-products-debug-store) - [Mikroelektronika d.o.o. (MikroE)](https://thedebugstore.com/a/llms/collections/mikroelektronika-catalogue-uk) - [Maxim Integrated Device Support - Development Boards & Tools | Debug Store](https://thedebugstore.com/a/llms/collections/devices-maxim-integrated) - [Memory Device Click Boards™](https://thedebugstore.com/a/llms/collections/memory-device-click-boards-catalogue-uk) - [MikroE Click Boards™](https://thedebugstore.com/a/llms/collections/mikroe-click-boards-catalogue-uk) - [Admin: No Inventory](https://thedebugstore.com/a/llms/collections/no-inventory) - [Google Shopping - invalid product](https://thedebugstore.com/a/llms/collections/google-shopping-valid-products) - [DRAM Click Boards™](https://thedebugstore.com/a/llms/collections/dram-click-boards-catalogue) - [AP Memory Technology IoT RAM and PSRAM Development Boards | Debug Store](https://thedebugstore.com/a/llms/collections/ap-memory-device-support) ## Variants - Default Title, SKU: MIKROE-5337, Available: no, Inventory: 0 ## Metafields - title_tag: MikroE DRAM Click Board™ (MIKROE-5337) - description_tag: Upgrade your device's memory with the DRAM Click Board™ from Debug Store. High performance, low power consumption, and easy integration. Order now. - badge:
- widget:The DRAM Click Board™ is based on the APS6404L-3SQR, a 64Mb PSRAM (Pseudo-Static RAM) memory with an SPI/QPI interface from AP Memory. Organized as 8M x 8 bits each, this memory also has a page size of 1024 bytes alongside high speed and high performance. It also incorporates a seamless self-managed refresh mechanism specially designed to maximize the performance of memory read operation (it does not require the support of DRAM refresh from the system host). It is most suitable for low-power and low-cost portable applications.

The APS6404L-3SQR communicates with MCU using the SPI serial interface that also supports Quad SPI and the two most common modes, SPI Mode 0 (QSPI Mode 1), with a maximum SPI frequency of 133MHz. The APS6404L-3SQR includes an on-chip voltage sensor used to start the self-initialization process. When the main power supply voltage reaches a stable level at or above the minimum supply voltage level, the device will require 150μs and user-issued RESET Operation to complete its self-initialization process. The device powers up in SPI Mode by default configuration but can also be switched into QPI mode. Besides, it is required to have a CS pin on a high logic level before beginning any operations.
The DRAM Click Board™ can be operated only with a 3.3V logic voltage level. The board must perform appropriate logic voltage level conversion before using MCUs with different logic levels. However, the Click board™ comes equipped with a library containing functions and an example code that can be used, as a reference, for further development.
| Type | DRAM |
| Applications | Can be used for low-power and low-cost portable applications |
| On-board modules | APS6404L-3SQR - 64Mb PSRAM (Pseudo-SRAM) memory from AP Memory |
| Key Features | Low power consumption, SPI/QPI with SDR mode, high performance, organized as 8M x 8bits, page size of 1024 bytes, self-managed refresh mechanism, software reset, and more |
| Interface | QSPI,SPI |
| Compatibility | mikroBUS |
| Click board size | S (28.6 x 25.4 mm) |
| Input Voltage | 3.3V |
This table shows how the pinout of the DRAM Click Board™ corresponds to the pinout on the mikroBUS™ socket (the latter shown in the two middle columns).
| Notes | Pin | ![]() |
Pin | Notes | |||
|---|---|---|---|---|---|---|---|
| NC | 1 | AN | PWM | 16 | IO2 | QSPI IO2 | |
| QSPI IO3 | IO3 | 2 | RST | INT | 15 | NC | |
| SPI Chip Select | CS | 3 | CS | RX | 14 | NC | |
| SPI Clock | SCK | 4 | SCK | TX | 13 | NC | |
| SPI Data OUT / QSPI IO1 | SDO | 5 | MISO | SCL | 12 | NC | |
| SPI Data IN / QSPI IO0 | SDI | 6 | MOSI | SDA | 11 | NC | |
| Power Supply | 3.3V | 7 | 3.3V | 5V | 10 | NC | |
| Ground | GND | 8 | GND | GND | 9 | GND | Ground |
| Label | Name | Default | Description |
|---|---|---|---|
| LD1 | PWR | - | Power LED Indicator |
| Description | Min | Typ | Max | Unit |
|---|---|---|---|---|
| Supply Voltage | - | 3.3 | - | V |
| Memory Size | - | - | 64 | Mb |
| Operating Temperature Range | -25 | +25 | +85 | °C |
We provide a library for the DRAM Click Board™ and a demo application (example), developed using MikroElektronika compilers. The demo can run on all the main MikroElektronika development boards.
The package can be downloaded/installed directly from NECTO Studio The package Manager (recommended), downloaded from our LibStock™ or found on the MikroE Github account.
Library Description
This library contains API for the DRAM Click Board™ driver.
Key functions
dram_memory_write This function writes the desired number of data bytes starting from the selected memory address.
dram_memory_read This function reads the desired number of data bytes starting from the selected memory address.
dram_memory_read_fast This function reads the desired number of data bytes starting from the selected memory address performing a fast read feature.
Example Description
This example demonstrates DRAM Click Board™ by writing specified data to the memory and reading it back.
void application_task ( void )
{
uint8_t data_buf[ 128 ] = { 0 };
log_printf ( &logger, " Memory address: 0x%.6LXrn", ( uint32_t ) STARTING_ADDRESS );
memcpy ( data_buf, DEMO_TEXT_MESSAGE_1, strlen ( DEMO_TEXT_MESSAGE_1 ) );
if ( DRAM_OK == dram_memory_write ( &dram, STARTING_ADDRESS, data_buf, sizeof ( data_buf ) ) )
{
log_printf ( &logger, " Write data: %srn", data_buf );
Delay_ms ( 100 );
}
memset ( data_buf, 0, sizeof ( data_buf ) );
if ( DRAM_OK == dram_memory_read ( &dram, STARTING_ADDRESS,
data_buf, sizeof ( data_buf ) ) )
{
log_printf ( &logger, " Read data: %srnn", data_buf );
Delay_ms ( 3000 );
}
log_printf ( &logger, " Memory address: 0x%.6LXrn", ( uint32_t ) STARTING_ADDRESS );
memcpy ( data_buf, DEMO_TEXT_MESSAGE_2, strlen ( DEMO_TEXT_MESSAGE_2 ) );
if ( DRAM_OK == dram_memory_write ( &dram, STARTING_ADDRESS, data_buf, sizeof ( data_buf ) ) )
{
log_printf ( &logger, " Write data: %srn", data_buf );
Delay_ms ( 100 );
}
memset ( data_buf, 0, sizeof ( data_buf ) );
if ( DRAM_OK == dram_memory_read_fast ( &dram, STARTING_ADDRESS, data_buf, sizeof ( data_buf ) ) )
{
log_printf ( &logger, " Fast read data : %srnn", data_buf );
Delay_ms ( 3000 );
}
}
The complete application code and ready-to-use projects can be installed directly from NECTO Studio. The package Manager (recommended), is downloaded from our LibStock™ or found on the MikroE Github account.
Other MikroE Libraries used in the example:
Additional Notes and Information
Depending on the development board you are using, you may need USB UART Click Board™, 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.
The DRAM 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.
- attachments: [{"download_file":[{"download_file":"DRAM Click Board™ Schematic"}],"download_filetype":[{"download_filetype":"pdf"}]},{"download_file":[{"download_file":"APMemory APS6404L-3SQR 64Mb SPI PSRAM Datasheet"}],"download_filetype":[{"download_filetype":"pdf"}]}] - device_vendor: AP Memory Technology - device_type: APS6404L-3SQR-SN - warranty: 12 months - brand: MikroE - manufacturer: Mikroelektronika d.o.o. - target_keyword: DRAM Click Board - brands: gid://shopify/Metaobject/56256004319 - breadcrumbs: ["gid://shopify/Collection/447955239135","gid://shopify/Collection/241680580797","gid://shopify/Collection/241545183421"] - mpn: MIKROE-5337 - customhs_code: 847330 - detailed_description: {"type":"root","children":[{"type":"heading","level":3,"children":[{"type":"text","value":"How Does The DRAM Click Board™ Work?"}]},{"type":"paragraph","children":[{"type":"text","value":"The "},{"type":"text","value":"DRAM Click Board™","bold":true,"italic":true},{"type":"text","value":" is based on the APS6404L-3SQR, a 64Mb PSRAM (Pseudo-Static RAM) memory with an SPI/QPI interface from AP Memory. Organized as 8M x 8 bits each, this memory also has a page size of 1024 bytes alongside high speed and high performance. It also incorporates a seamless self-managed refresh mechanism specially designed to maximize the performance of memory read operation (it does not require the support of DRAM refresh from the system host). It is most suitable for low-power and low-cost portable applications."}]},{"type":"paragraph","children":[{"type":"text","value":""}]},{"type":"paragraph","children":[{"type":"text","value":"The APS6404L-3SQR communicates with MCU using the SPI serial interface that also supports Quad SPI and the two most common modes, SPI Mode 0 (QSPI Mode 1), with a maximum SPI frequency of 133MHz. The APS6404L-3SQR includes an on-chip voltage sensor used to start the self-initialization process. When the main power supply voltage reaches a stable level at or above the minimum supply voltage level, the device will require 150μs and user-issued RESET Operation to complete its self-initialization process. The device powers up in SPI Mode by default configuration but can also be switched into QPI mode. Besides, it is required to have a CS pin on a high logic level before beginning any operations."}]},{"type":"paragraph","children":[{"type":"text","value":"The "},{"type":"text","value":"DRAM Click Board™","bold":true},{"type":"text","value":" can be operated only with a 3.3V logic voltage level. The board must perform appropriate logic voltage level conversion before using MCUs with different logic levels. However, the Click board™ comes equipped with a library containing functions and an example code that can be used, as a reference, for further development."}]},{"type":"heading","level":3,"children":[{"type":"text","value":"SPECIFICATIONS"}]},{"type":"paragraph","children":[{"type":"text","value":"Type\nDRAM\nApplications\nCan be used for low-power and low-cost portable applications\nOn-board modules\nAPS6404L-3SQR - 64Mb PSRAM (Pseudo-SRAM) memory from AP Memory\nKey Features\nLow power consumption, SPI/QPI with SDR mode, high performance, organized as 8M x 8bits, page size of 1024 bytes, self-managed refresh mechanism, software reset, and more\nInterface\nQSPI,SPI\nCompatibility\nmikroBUS\nClick board size\nS (28.6 x 25.4 mm)\nInput Voltage\n3.3V"}]},{"type":"heading","level":3,"children":[{"type":"text","value":"PINOUT DIAGRAM"}]},{"type":"paragraph","children":[{"type":"text","value":"This table shows how the pinout of the "},{"type":"text","value":"DRAM Click Board™","bold":true},{"type":"text","value":" corresponds to the pinout on the mikroBUS™ socket (the latter shown in the two middle columns)."}]},{"type":"paragraph","children":[{"type":"text","value":"Notes\nPin\nPin\nNotes\nNC\n1\nAN\nPWM\n16\nIO2\nQSPI IO2\nQSPI IO3\nIO3\n2\nRST\nINT\n15\nNC\nSPI Chip Select\nCS\n3\nCS\nRX\n14\nNC\nSPI Clock\nSCK\n4\nSCK\nTX\n13\nNC\nSPI Data OUT / QSPI IO1\nSDO\n5\nMISO\nSCL\n12\nNC\nSPI Data IN / QSPI IO0\nSDI\n6\nMOSI\nSDA\n11\nNC\nPower Supply\n3.3V\n7\n3.3V\n5V\n10\nNC\nGround\nGND\n8\nGND\nGND\n9\nGND\nGround"}]},{"type":"heading","level":3,"children":[{"type":"text","value":"ONBOARD SETTINGS AND INDICATORS"}]},{"type":"paragraph","children":[{"type":"text","value":"Label\nName\nDefault\nDescription\nLD1\nPWR\n-\nPower LED Indicator"}]},{"type":"heading","level":3,"children":[{"type":"text","value":"DRAM CLICK ELECTRICAL SPECIFICATIONS"}]},{"type":"paragraph","children":[{"type":"text","value":"Description\nMin\nTyp\nMax\nUnit\nSupply Voltage\n-\n3.3\n-\nV\nMemory Size\n-\n-\n64\nMb\nOperating Temperature Range\n-25\n+25\n+85\n°C"}]},{"type":"heading","level":3,"children":[{"type":"text","value":" "}]}]} - summary:Upgrade your device's memory with the DRAM Click Board™, a compact add-on board representing a dynamic random-access memory solution. This board features the APS6404L-3SQR, 64Mb high-performance SPI/QPI PSRAM memory organized as 8M x 8 bits each from AP Memory.
The Pseudo-SRAM device of the DRAM Click Board™ features a high speed, low pin count interface and incorporates a seamless self-managed refresh mechanism to maximize the performance of memory read operation. With 4 SDR I/O pins and the ability to operate in SPI or QPI (quad peripheral interface) mode with frequencies up to 133 MHz, this Click board™ is most suitable for low-power and low-cost portable applications.
The DRAM Click Board™ is supported by a mikroSDK-compliant library, which includes functions that simplify software development. This Click board™ comes as a thoroughly tested product, ready to be used on a system equipped with the mikroBUS™ socket.
Upgrade your device's memory capabilities today with the DRAM Click Board™.