TOP Contributors

  1. MIKROE (2665 codes)
  2. Alcides Ramos (358 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 (137156 times)
  2. FAT32 Library (70288 times)
  3. Network Ethernet Library (56159 times)
  4. USB Device Library (46480 times)
  5. Network WiFi Library (42148 times)
  6. FT800 Library (41450 times)
  7. GSM click (29145 times)
  8. mikroSDK (26595 times)
  9. PID Library (26518 times)
  10. microSD click (25529 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: 1747 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

RS232 2 click

0

The RS232 communication standard is established back in the ‘60s, but thanks to its implementation on a wide range of devices.

[Learn More]

LED Driver 18 click

0

LED Driver 18 Click is a compact add-on board that simplifies the control of multiple LEDs. This board features the TLC5947, a 24-channel LED driver from Texas Instruments. Each channel is individually adjustable with 4096 pulse-width modulated (PWM) steps and has a programmable current value of all channels with a maximum of 30mA of LED current per channel.

[Learn More]

EMG click

0

EMG click measures the electrical activity produced by the skeletal muscles. It carries MCP609 operational amplifier and MAX6106 micropower voltage reference.

[Learn More]