OFF
MIKROE-924
28 g
Status:
microSD Click is a compact add-on board that lets you interface a microSD card with your application. This board features a microSD card slot for microSD cards used as a mass storage medium for portable devices. It is intended for use with standard microSD, removable miniaturized Secure Digital flash memory cards. The other term for those cards is TransFlash or TS cards, which are basically the same, and both can be used with microSD Click. This Click board™ makes the perfect solution for the development of data storage applications, like data-logging or storing music, text files, videos, and more.
microSD Click 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.
This product is no longer in stock
Availability date:
microSD Click is based on the microSD card slot for microSD cards used as a mass storage media for portable devices. The microSD card slot has a push-in ejector, which helps a lot while inserting or removing the microSD card without damaging it. It also helps to hold the microSD card tight in place, thus making all internal connectors safely connected with the microSD card and securing reliable connection and data flow. The power supply of the microSD card is properly decoupled with capacitors, which eliminates the noise on the microSD Click board and ensures your data is safe on the microSD card.
microSD Click and the microSD card use the standard 4-Wire SPI serial interface to communicate with the host MCU. The CS pin is pulled up by default, and the same goes for the card detect pin of the microSD card slot. When the microSD card is inserted, you will get the logic Low state on the CD pin of the mikroBUS™ socket.
This 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. Also, it comes equipped with a library containing functions and an example code that can be used as a reference for further development.
Type
microSD
Applications
Can be used for the development of data storage applications, like data-logging or storing music, text files, videos, and more
On-board modules
microSD card slot for microSD cards used as a mass storage media for portable devices
Key Features
Push-in ejector which helps a lot while inserting or removing the microSD card without damaging it, card detection, and more
Interface
SPI
Feature
No ClickID
Compatibility
mikroBUS™
Click board size
S (28.6 x 25.4 mm)
Input Voltage
3.3V
This table shows how the pinout on microSD click corresponds to the pinout on the mikroBUS™ socket (the latter shown in the two middle columns).
Label | Name | Default | Description |
---|---|---|---|
LD1 | PWR | - | Power LED Indicator |
Description | Min | Typ | Max | Unit |
---|---|---|---|---|
Supply Voltage | - | 3.3 | - | V |
We provide a library for the microSD Click as well as a demo application (example), developed using MIKROE compilers. The demo can run on all the main MIKROE development boards.
Package can be downloaded/installed directly from NECTO Studio Package Manager(recommended), downloaded from our LibStock™ or found on Mikroe github account.
Library Description
This library contains API for microSD Click driver.
Key functions
microsd_check_card_detection
This function checks and waits for a microSD card to be inserted to the click board.
microsd_create_directory
This function creates a new directory at the selected absolute path. The path should contain a name of the directory to be created.
microsd_display_directory
This function reads and displays the content of the directory at the selected path.
Example Description
This example demonstrates a basic file system functionality and operations with files and directories using a microSD click board.
void application_task ( void )
{
microsd_display_directory ( PATH_ROOT );
Delay_ms ( 1000 );
Delay_ms ( 1000 );
microsd_display_directory ( PATH_DIR1 );
Delay_ms ( 1000 );
Delay_ms ( 1000 );
microsd_display_directory ( PATH_DIR3 );
Delay_ms ( 1000 );
Delay_ms ( 1000 );
microsd_display_directory ( PATH_DIR5 );
Delay_ms ( 1000 );
Delay_ms ( 1000 );
Delay_ms ( 1000 );
Delay_ms ( 1000 );
Delay_ms ( 1000 );
log_printf ( &logger, "rnn" );
}
The full application code, and ready to use projects can be installed directly from NECTO Studio Package Manager(recommended), 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 MIKROE compilers.
This Click board™ is supported with mikroSDK - MIKROE 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.
For more information about mikroSDK, visit the official page.
NOTE: Please be advised that any peripheral devices or accessories shown connected to the Click board™ are not included in the package. Check their availability in our shop or in the YMAN section below.