This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

pcm 2704C with rom, once again

Other Parts Discussed in Thread: PCM2704, PCM2704C

Hello

I can't found solution at forum.

I'm using 24C02 i2c eeprom for pcm2704. Electrical connections are ok.

To store datas i'm using simply arduino sketch like this:

// EPPROM writer for PCM2704

#include <Wire.h>
#include <Eeprom24C04_16.h>

#define EEPROM_ADDRESS  0x50

static Eeprom24C04_16 eeprom(EEPROM_ADDRESS);

const byte eprom_value[] = { 0xBB, 0x08, 0x04, 0x27, 0x48, 0x69, 0x2d, 0x46, 0x69, 0x20, 0x41, 0x75, 0x64, 0x69, 0x6f, 0x20, 0x44, 0x41, 0x43, 0x20, 0x62, 0x6c, 0x75, 0x75, 0x75, 0x20, 0x41, 0x75, 0x64, 0x69, 0x6f, 0x20, 0x48, 0x49, 0x2d, 0x46, 0x49, 0x20, 0x55, 0x53, 0x42, 0x20, 0x44, 0x41, 0x43, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x80, 0xFA, 0xE2, 0xE9, 0xEA };

int i=0;
byte reading;

void setup() {
  Serial.begin(115200);
  eeprom.initialize();
  delay(10000);
  Serial.println("Table contents");
  for (int i=0; i<=56; i++) {
    Serial.print(eprom_value[i], HEX);
    Serial.print(" ");
    delay(50);
  }
    Serial.println(" ");
    Serial.println("Store to eeprom ...");

    for (int i=0; i<=56; i++) {
    eeprom.writeByte(i, eprom_value[i]);
    delay(20);
  }
    delay(5000);
    Serial.println(" ");
    Serial.println("Stored values");
    
    delay(5000);
    Serial.println(" ");
    Serial.println("Reading ...");

    for (int i=0; i<=56; i++) {
    reading=eeprom.readByte(i);
    Serial.print(reading, HEX);
    Serial.print(" ");
    delay(20);
  }
 

}

void loop() {
 
}

As you see, there are validation code and all is ok while storing and checking datas.

When I connect programmed eeprom to pcm2704C I'm getting wrong datas like this:

Where is mistake ?