microSD click

Please inform me as soon as the product is available again.
₹ 1,679.00 *

Prices incl. GST

Out of Stock.

  • MIKROE-924
  • MIKROE-924
  Need more additional memory? We’ve got just the thing for you - microSD click. It...more
Product information "microSD click"

 

Need more additional memory? We’ve got just the thing for you - microSD click. It features a microSD card slot for microSD cards used as a mass storage media for portable devices. microSD click is designed to run on 3.3V power supply. Industry standard SPI interface ensures simple communication at high data rates. Use it for reading or storing data like music, text files, videos and more.

Using microSD cards

Board contains the slot for standard microSD cards. Once power is turned on, power LED will indicate that board is in operation. Data is read and written to the card using industry standard SPI interface.

Power supply – 3.3V only

Board is designed to use 3.3V power supply only. If you need to add MMC/SD feature to your 5V prototype or development board, we recommend you to use other boards such as the MMC/SD Accessory Board.

Specifications

Type SD/MMC
Applications microSD click is ideal for storing and reading acquisition data, images, music, video and data files, or any other application where fast mass storage is needed.
On-board modules microSD card slot
Key Benefits Small dimensions, easy to integrate into your prototype devices.
Interface SPI
Input Voltage 3.3V
Compatibility mikroBUS
Click board size S (28.6 x 25.4 mm)

Pinout diagram

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).

NotesPinMikrobus logo.pngPinNotes
  NC 1 AN PWM 16 NC  
  NC 2 RST INT 15 NC  
SPI chip select CS 3 CS TX 14 NC  
SPI clock SCK 4 SCK RX 13 NC  
Serial data output SDO 5 MISO SCL 12 NC  
Serial data input SDI 6 MOSI SDA 11 NC  
Power supply +3.3V 7 3.3V 5V 10 +5V Power supply
Ground GND 8 GND GND 9 GND Ground

Programming

Code examples for microSD click, written for MikroElektronika hardware and compilers are available on Libstock.

Code snippet

The following code snippet shows part of the code that is responsible for microSD click initialization.

01 void main() {
02   const char   FILL_CHAR = 'm';
03   unsigned int i, SectorNo;
04   char         mmc_error;
05   bit          data_ok;
06
07  ANCON0 = 0;                      // Configure ports as digital I/O
08   ANCON1 = 0;
09   ANCON2 = 0;
10
11  Mmc_Card_Detect_Direction = 1;   // Set card detection pin to be input
12
13  UART1_Init(19200);               // Initialize UART1 module
14   Delay_ms(10);
15   UART1_Write_Line("Insert microSD Card");
16
17  while(Mmc_Card_Detect)           // Loop until card is detected
18     ;
19
20  Delay_ms(500);
21
22  UART1_Write_Line("microSD Card inserted");  // microSD Card present report
23
24  // Initialize SPI1 module
25   SPI1_Init_Advanced(_SPI_MASTER_OSC_DIV4, _SPI_DATA_SAMPLE_MIDDLE, _SPI_CLK_IDLE_LOW, _SPI_LOW_2_HIGH);
26
27  // Initialize MMC card
28   mmc_error = Mmc_Init();
29   if(mmc_error == 0)
30     UART1_Write_Line("MMC Init-OK");    // If MMC present report
31   else
32     UART1_Write_Line("MMC Init-error"); // If error report

 

Related links to "microSD click"
Read, write and discuss reviews...more
Customer evaluation for "microSD click"
Write a review
Reviews will be activated after verification.

The fields marked with * are required.

Viewed