TOP Contributors

  1. MIKROE (2660 codes)
  2. Alcides Ramos (357 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 (137017 times)
  2. FAT32 Library (70143 times)
  3. Network Ethernet Library (56029 times)
  4. USB Device Library (46353 times)
  5. Network WiFi Library (41968 times)
  6. FT800 Library (41295 times)
  7. GSM click (29063 times)
  8. mikroSDK (26501 times)
  9. PID Library (26452 times)
  10. microSD click (25424 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: 1710 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

6DOF IMU 12 click

0

6DOF IMU 12 Click carries the ultra-low-power BMI270 from Bosch Sensortec, inertial measurement unit optimized for wearables providing precise acceleration, angular rate measurement and intelligent on-chip motion-triggered interrupt features.

[Learn More]

Mikromedia 5 for STM32F4 Capacitive FPI

0

This project contains example for testing modules on Mikromedia 5 for STM32F4 Capacitive FPI

[Learn More]

Fingerprint 4 click

0

Fingerprint 4 Click is an adapter Click board™ used to interface a compatible fingerprint sensor with the host MCU. This board features FINGERPRINTS BM-Lite Module, a complete biometric fingerprint solution ready to be used out-of-the-box. The BM-Lite Module combines superior biometric performance and a high standard of quality components to offer a comprehensive embedded solution for increased security and enhanced user convenience. It uses a 3D pixel sensing technology that can read virtually any finger, dry or wet, alongside simple serial commands with a configurable communication interface to enroll and verify. Its protective coating helps in protection against ESD, scratches, impact, and everyday wear and tear.

[Learn More]