TOP Contributors

  1. MIKROE (2784 codes)
  2. Alcides Ramos (405 codes)
  3. Shawon Shahryiar (307 codes)
  4. jm_palomino (133 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 (141519 times)
  2. FAT32 Library (74423 times)
  3. Network Ethernet Library (58935 times)
  4. USB Device Library (48965 times)
  5. Network WiFi Library (44727 times)
  6. FT800 Library (44296 times)
  7. GSM click (31003 times)
  8. mikroSDK (29862 times)
  9. PID Library (27433 times)
  10. microSD click (27410 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: 1228 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

Do you want to subscribe in order to receive notifications regarding "PIC18F SPI communication with external 25AA040A 4kbit EEPROM" changes.

Do you want to unsubscribe in order to stop receiving notifications regarding "PIC18F SPI communication with external 25AA040A 4kbit EEPROM" changes.

Do you want to report abuse regarding "PIC18F SPI communication with external 25AA040A 4kbit EEPROM".

  • 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

Datalogger dspic 33fj128mc810

0

This read uart info and save to SD.

[Learn More]

Static Data Structures

5

Add static data structures to your project.

[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]