TOP Contributors

  1. MIKROE (2650 codes)
  2. Alcides Ramos (350 codes)
  3. Shawon Shahryiar (307 codes)
  4. jm_palomino (112 codes)
  5. Chisanga Mumba (90 codes)
  6. S P (73 codes)
  7. dany (71 codes)
  8. MikroBUS.NET Team (35 codes)
  9. NART SCHINACKOW (34 codes)
  10. Armstrong Subero (27 codes)

Most Downloaded

  1. Timer Calculator (136553 times)
  2. FAT32 Library (69756 times)
  3. Network Ethernet Library (55855 times)
  4. USB Device Library (46195 times)
  5. Network WiFi Library (41816 times)
  6. FT800 Library (41009 times)
  7. GSM click (28931 times)
  8. PID Library (26386 times)
  9. mikroSDK (26297 times)
  10. microSD click (25304 times)
Libstock prefers package manager

Package Manager

We strongly encourage users to use Package manager for sharing their code on Libstock website, because it boosts your efficiency and leaves the end user with no room for error. [more info]

< Back
mikroSDK Library

EEPROM 3 click

Rating:

2

Author: MIKROE

Last Updated: 2018-03-19

Package Version: 1.0.0.1

mikroSDK Library: 1.0.0.0

Category: EEPROM

Downloaded: 5982 times

Followed by: 7 users

License: MIT license  

EEPROM 3 click carries Atmel’s AT24CM02 DIP-8 socket EEPROM chip with 256 KB of memory. The board communicates with the target MCU through the mikroBUS I2C interface (SCL, SDA pins) with speeds up to 1 MHz. The chip allows for an entire page of data to be written in a single cycle. The board is designed to use either a 3.3V or a 5V power supply.

No Abuse Reported

Do you want to subscribe in order to receive notifications regarding "EEPROM 3 click" changes.

Do you want to unsubscribe in order to stop receiving notifications regarding "EEPROM 3 click" changes.

Do you want to report abuse regarding "EEPROM 3 click".

  • mikroSDK Library 2.0.0.0
  • Comments (4)
DOWNLOAD LINK RELATED COMPILER CONTAINS
mikroBasic PRO for ARM
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroBasic PRO for AVR
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroBasic PRO for dsPIC30/33 & PIC24
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroBasic PRO for FT90x
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroBasic PRO for PIC
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroBasic PRO for PIC32
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroC PRO for ARM
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroC PRO for AVR
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroC PRO for dsPIC30/33 & PIC24
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroC PRO for FT90x
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroC PRO for PIC
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroC PRO for PIC32
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroPascal PRO for ARM
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroPascal PRO for AVR
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroPascal PRO for dsPIC30/33 & PIC24
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroPascal PRO for FT90x
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroPascal PRO for PIC
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroPascal PRO for PIC32
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc

mikroSDK Library Blog

EEPROM 3 click

EEPROM 3 click

Native view of the EEPROM 3 click

View full image
Front / Back view

Front / Back view

EEPROM 3 click front and back view

View full image

Library Description

This library provides generic functions enough to have complete control ove EEPROM 3 click board.

Key functions:

  • void eeprom3_writePage( uint16_t address, uint8_t *_data, uint8_t count ); - Writes data to the EEPROM ( maximum 256 Bytes ).
  • void eeprom3_read( uint16_t address, uint8_t *buffer, uint16_t count ); - Reads data from EEPROM.

Examples Description

The application is composed of three sections:

  • System Initialization - CS GPIO as the output pin, initializes SPI and UART for logging.
  • Application Initialization -  Initializes EEPROM 3 driver.
  • Application Task - writing data to EEPROM, reading that data and displaying it via UART.
void applicationTask()
{

 eeprom3_writePage(0x0423, &text[0], 6);
 mikrobus_logWrite("Writing Mikroe to EEPROM 3 click", _LOG_LINE);
 Delay_ms(1000);
 eeprom3_read(0x0423,&memValue[0],6);
 mikrobus_logWrite("Data read:", _LOG_LINE);
 mikrobus_logWrite(memValue, _LOG_LINE);
 Delay_ms(1000);

}

Other mikroE Libraries used in the example:

  • I2C
  • UART

Additional notes and information

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. The terminal available in all MikroElektronika compilers, or any other terminal application of your choice, can be used to read the message.

ALSO FROM THIS AUTHOR

3G Sara click

6

3G SARA click is a mikroBUS add-on board with the smallest UMTS/HSPA cellular modem available today. Click board carries SARA-U201 3G module accessible through UART interface capable to transmit/receive data, SMS and calls.

[Learn More]

ROTARY O click

0

Rotary click carries a 15-pulse incremental rotary encoder with detents, surrounded by a ring of 16 orange LEDs. It’s a perfect solution for adding a precision input knob to your design. The encoder outputs A and B signals (out of phase to each other); the knob also acts as a push-button which sends an interrupt to the target board MCU. The LED ring is controlled through SPI lines (CS, SCK, MISO, MOSI). Rotary click can be used with either a 3.3V or 5V power supply.

[Learn More]

USB-C Sink click

0

USB-C Sink Click is a compact add-on board that contains a standalone autonomous USB power delivery controller. This board features the STUSB4500, a USB-C sink-only controller compatible with Power-Delivery (PD) from STMicroelectronics. It supports dead battery mode to allow a system to be powered from an external source directly, establishes a valid source-to-sink connection, and negotiates a USB power delivery (PD) contract with a PD capable source device.

[Learn More]