MIKROE-2768

read/writes, 151-year data retention, low power consumption
Interface GPIO,SPI
Input Voltage 3.3V
Pinout diagram
This table shows how the pinout on FRAM 2 click 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 HLD Hold
Write protect WP 2 RST INT 15 NC
Chip select CS 3 CS TX 14 NC
SPI clock pin SCK 4 SCK RX 13 NC
SPI slave data out pin SDO 5 MISO SCL 12 NC
SPI slave data in pin SDI 6 MOSI SDA 11 NC
Power supply +3.3V 7 3.3V 5V 10 NC
Ground GND 8 GND GND 9 GND Ground
Programming
Code examples for FRAM 2 click, written for MikroElektronika hardware and compilers are
available on Libstock.
Code snippet
This code snippet shows one part of the example provided alongside with the click board™. The
task writes value 42 into the memory address 0x10 and then the read value from the same
memory part. The read value should match the written value (42).
01 void Fram_2_Task()
02 {
03 uint8_t readData;
04 char outputText [5];
05 memset ( outputText, 0, 5);
06 UART1_Write_Text ("rnWriting value 42 into register 0x10...");
07 Fram_2_Write (0x00, 0x00, 0x10, 42 );
08
09 UART1_Write_Text ("rnReading from register 0x10...");
10 readData = Fram_2_Read (0x00, 0x00, 0x10);
11 ShortToStr (readData, outputText);
12 UART1_Write_Text ("rnRead value: ");
13 UART1_Write_Text (outputText);
14 }
https://shop.mikroe. com/fram2click11317

MIKROE-2768

Mfr. #:
Manufacturer:
Mikroe
Description:
Memory IC Development Tools FRAM 2 click
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union

Products related to this Datasheet