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]
Rating:
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.
DOWNLOAD LINK | RELATED COMPILER | CONTAINS |
---|---|---|
1371735997_pic18f_spi_commu_mikropascal_pic.zip [4.09KB] | mikroPascal PRO for PIC |
|
temperature data recorder with mikroc, using microsd memory Subscribe to my youtube channel https://www.youtube.com/channel/UCAEmDP2EkFOVB6JCKJ9iGGw?view_as=subscribe
[Learn More]Contains libraries for working with 24C02 EEPROM memory, low-voltage serial flash memory M25P80 and serial SRAM 23K640 device.
[Learn More]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]You have unsaved changes. If you choose to leave all changes will be discarded.
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".