TOP Contributors

  1. MIKROE (2750 codes)
  2. Alcides Ramos (372 codes)
  3. Shawon Shahryiar (307 codes)
  4. jm_palomino (118 codes)
  5. Bugz Bensce (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 (139022 times)
  2. FAT32 Library (71554 times)
  3. Network Ethernet Library (56937 times)
  4. USB Device Library (47295 times)
  5. Network WiFi Library (43003 times)
  6. FT800 Library (42291 times)
  7. GSM click (29727 times)
  8. mikroSDK (27835 times)
  9. PID Library (26846 times)
  10. microSD click (26093 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 6 click

Rating:

5

Author: MIKROE

Last Updated: 2020-10-14

Package Version: 1.0.0.0

mikroSDK Library: 1.0.0.0

Category: EEPROM

Downloaded: 2092 times

Not followed.

License: MIT license  

EEPROM 6 Click is a compact add-on board that contains a serial EEPROM memory that operates from the 1-Wire interface. This board features the DS28EC20, a 20480-bit EEPROM organized as 80 memory pages of 256 bits each from Maxim Integrated.

No Abuse Reported

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

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

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

  • mikroSDK Library 2.0.0.0
  • Comments (0)
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 6 Click

EEPROM 6 Click

Native view of the EEPROM 6 Click board.

View full image
EEPROM 6 Click

EEPROM 6 Click

Front and back view of the EEPROM 6 Click board.

View full image

Library Description

The EEPROM 6 Click utilises the "One_Wire" Library for it's communications and functionalities.

Key functions:

  • void eeprom6_one_wire_init ( ) - Function initialises one wire communication.
  • void eeprom6_read_mem ( uint16_t reg_adr, uint16_t n_len ) - The Read Memory function allows data to be sequentially read starting at an initial address.
  • uint8_t eeprom6_write_mem ( uint16_t reg_adr, uint16_t n_len ) - The Write Memory function allows data bytes to be written sequentially.

Examples description

The application is composed of three sections :

  • System Initialization - Initializes LOG structure.
  • Application Initialization - Initalizes the device, performs safety check, and start to write log.
  • Application Task - This example shows capabilities of EEPROM 6 Click board by writting "MikroE" into first 6 memory locations, and then reading it back.
void application_task ( )
{
    mikrobus_logWrite( "Writing : ", _LOG_TEXT );
    mikrobus_logWrite( val_in, _LOG_TEXT );
    eeprom6_write_mem( 0x0000, 9 );
    Delay_ms( 100 );

    mikrobus_logWrite( "Reading : ", _LOG_TEXT );
    eeprom6_read_mem ( 0x0000, 9 );
    mikrobus_logWrite( val_out, _LOG_TEXT );

    mikrobus_logWrite( "-------------------", _LOG_LINE );
    Delay_ms( 5000 );
}

Other mikroE Libraries used in the example:

  • void eeprom6_one_wire_init ( ) - Function initialises one wire communication , returns Family Code.
  • void eeprom6_rom_skip ( ) - Function sends skip ROM command.
  • void eeprom6_read_mem ( uint16_t reg_adr, uint16_t n_len ) - The Read Memory function allows data to be sequentially read starting at an initial address.
  • uint8_t eeprom6_write_mem ( uint16_t reg_adr, uint16_t n_len ) - The Write Memory function allows data bytes to be written sequentially, returns 1 if error has occured.

The full application code, and ready to use projects can be found on our LibStock page.

Other mikroE Libraries used in the example:

  • One Wire
  • UART

Additional notes and informations

Depending on the development board you are using, you may need USB UART clickUSB 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

UNIQUE ID Click

0

Unique ID Click carries DS2401, an enhanced silicon serial number IC. It’s a low cost solution for providing a unique registration number to your design.

[Learn More]

Mikromedia 4 for STM32F4 Capacitive

0

This project contains example for testing modules on Mikromedia 4 for STM32F4 Capacitive.

[Learn More]

Pressure 8 Click

0

Pressure 8 Click is an accurate and fully calibrated pressure sensor, equipped with the MPR series integrated piezoresistive silicon pressure sensor IC.

[Learn More]