Search Engine

476 Threads found on Eeprom Code
Dear All, I need Encryption/Authentication Devices for my product. Specs: I2C eeprom 2K Memory 8 bit Address with Family code '1011' Is there any product that is available off-the-shelf? Thanks
Please let me know that I programmed Arduino code for save and restore of float values in eeprom, Arduino eeprom library attached but problem is that when I write value first time then value is successfully restore but when second time update the value then restore take some for retrieving value?
HI 24LC256 Serial eeprom, I am using eeprom with I2C , and I use a lot of commands to make all addresses to zero state. Is there any method , so that I can completely erase all data in my eeprom at once ? Regards, Raady.
I don't see any references to eeprom I2C addresses in your code, thus I believe it doesn't actually access it. There are other points like generating correct eeprom commands with address field, and required ACK polling after write actions. But that's next.
Hi, Dear Friends, I'm new in using SPI, and i am writing data via SPI from ATMEGA32 to an eeprom m95160. i fallowed the datasheet but i think i have some misunderstanding parts, so i receive those errors in the title, would you please help me to debug my code? compiler is : codevisionAVR simulator: proteus actually this master (...)
Hello, I am using pic32mx795f512l and i am trying to code for external eeprom (25LC256) to store the last value of LED. I want to use SPI communication for eeprom. I need sample code to done this. Please help me with some sample code. Thanks in advance
Hi guys I just started to program eeprom , however the OV7955 system control start with during program, do i need to start from 0x0000 or 0x0100??
M working on a project having micro controller 89s52. In this i have to store names up to 20. m using 24c16 eeprom for this.... void Save_name() { start(); send_byte(0xA0); aknowledge(); switch(nam) { case 0: send_byte(0x00);break; case 1: send_byte(0x10);break; . . . case 15: send_
So where in the data logger system,are you facing a problem?Is it in the code? the date, time and temperature value should be written into the eeprom and pressing a button the written values should be read and displayed in lcd and hyperterminal You mean the instantaneous value(s),right?and why would you be using both the hypertermina
I want to know how to write the adc result in successive address of external eeprom 24lc512. I am using pic16f877a controller and storing the result of adc i.e ADDRESH and ADRESL into two variables x and y. I have added my code below. /* TEMPERATURE MONITORING DATA LOGGER */ /* Header files */ #include #include
Put a small delay between the second eeprom_Write and the first eeprom_Read: .......... eeprom_Write(3,0b00001111); Delay_ms(20); // !!!!!!!!!!!!!! PORTC = eeprom_Read(2); ..........
The code you posted above is not explicitly related to some IR Thermometer reading, and performs the task supposed to do: Just a sequential scan on eeprom content. Can you assure the memory is not entirely cleaned ? +++
Your basic steps would be the following: 1.) Setup your analog input ports and ADC parameters 2.) Cycle through the three channels with ADCON register 3.) Set the channel, read the ADC value, write to eeprom, update eeprom address, delay, go to the next channel 4.) The eeprom address you will have to increment and keep track of to know which (...)
#include #include "uart_fun.h" // PIC32MX450F128H Configuration Bit Settings // Configuration Bit settings // SYSCLK = 48 MHz (8MHz Crystal / FPLLIDIV * FPLLMUL / FPLLODIV) // PBCLK = 48 MHz (SYSCLK / FPBDIV) // Primary Osc w/PLL (XT+,HS+,EC+PLL) // WDT OFF // Other options are don't care #pragma config F
the PIC16 as a master could have a number of slave devices attached, e.g. eeprom, DAC, etc for examples of PIC16 I2C code have a look at
there are some examples of accessing the eeprom of PIC16 in
Try: total = (eeprom_read(0) & 0x0f) * 10000; total += (eeprom_read(1) & 0x0f) * 1000; total += (eeprom_read(2) & 0x0f) * 100; total += (eeprom_read(3) & 0x0f) * 10; total += eeprom_read(4) & 0x0f; I used ' & 0x0f' rather than '-48' to make ASCII into binary because it should use less compiler (...)
#include #include"SPILCD.h"//LCD PROGRAMM #define slave2 1<<7 //CHIP SELECT PIN int main(void) { unsigned char dat,ch='A',gar; PLLCFG=(1<<2)|(1<<5);//SETTING THE CORE CLOCK AS 60MHZ & PCLK AS 15MHZ PLLCON=(1<<0)|(1<<1);// ENABLE THE PLL PLLFEED=0XAA; PLLFEED=0X55; IODIR0=slave2; // MAKING CHIP SELECT PIN IN LPC
Just a thought, PIC16F877A includes 256x8 bytes of eeprom in the MCU itself. Post the code with which you've tried, that way it'll be easier to debug rather than asking for full code to someone.
hai, i want to know the difference between two eeprom ( eeprom 24c02c/p vs eeprom 24LC04). currently i am doing project interfacing ARM lpc2148 with eeprom using I2C communication protocol. i got the coding from internet. but they are using eeprom 24LC04 but i have different (...)