TOP Contributors

  1. MIKROE (2784 codes)
  2. Alcides Ramos (392 codes)
  3. Shawon Shahryiar (307 codes)
  4. jm_palomino (123 codes)
  5. Bugz Bensce (97 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 (140524 times)
  2. FAT32 Library (73013 times)
  3. Network Ethernet Library (58001 times)
  4. USB Device Library (48207 times)
  5. Network WiFi Library (43814 times)
  6. FT800 Library (43263 times)
  7. GSM click (30319 times)
  8. mikroSDK (28964 times)
  9. PID Library (27101 times)
  10. microSD click (26702 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
Example

PIC18F SPI communication with external 25AA040A 4kbit EEPROM

Rating:

0

Author: Ed Anderson

Last Updated: 2016-02-25

Package Version: 1.0.0.0

Example: 1.0.0.0

Category: Storage

Downloaded: 1212 times

Followed by: 1 user

License: MIT license  

Example of 18F SPI code adapted from other's examples for the Microchip 25AA040 T-23-6 4kbit external EEPROM.
Both the SPI and EEPROM library must be unselected before compiling otherwise errors are generated.

No Abuse Reported
  • Information
  • Comments (0)
DOWNLOAD LINK RELATED COMPILER CONTAINS
mikroPascal PRO for PIC
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc

Example Blog

Blog is not available at the moment!

RELATED CODES

temperature datalogger with mikroc, using microsd memory

0

temperature data recorder with mikroc, using microsd memory Subscribe to my youtube channel https://www.youtube.com/channel/UCAEmDP2EkFOVB6JCKJ9iGGw?view_as=subscribe

[Learn More]

External Memory

22

Contains libraries for working with 24C02 EEPROM memory, low-voltage serial flash memory M25P80 and serial SRAM 23K640 device.

[Learn More]

PIC32MZ - FLASH LIKE A EEPROM

0

I wrote this example to show on EASYPIC FUSION V7 with MCU PIC32MZ ETH CARD (PIC32MZ2048ECH144), the theory of using Program Flash as a typical PIC18F EEPROM. Important note: in the example the data in memory is extracted from the flash and stored in a variable "NVM1" or "NVM2" of type "int". If you want to extract 8-bit data, substitute the command: NVM1 = *(int*)(0x9D1FFFE0); with NVM1 = *(char*)(0x9D1FFFE0);

[Learn More]
Close menu