Unable to read the M93C66 EEPROM

I tried to read the M93C66 EEPROM using arduino and the library I got from github.

my code

#include <M93Cx6.h>

#define CS_PIN 7 // Chip Select Pin (CS)
#define SK_PIN 9 // Serial Clock Pin (SK)
#define DO_PIN 11 // Data Output Pin (DO)
#define DI_PIN 10 // Data Input Pin (DI)
#define ORG_PIN 0xFF 
#define PWR_PIN 0xFF 

M93Cx6 eeprom =M93Cx6(CS_PIN, SK_PIN, DO_PIN, DI_PIN, ORG_PIN);

void setup() {
  Serial.begin(9600);  
  eeprom.setChip(M93C66);   
  eeprom.setOrg(ORG_16);  

  uint16_t dataRead;
  for (int i = 0; i < 512; i++) { 
    dataRead = eeprom.read(i);    
    Serial.print(“Address”);
    Serial.print(i);
    Serial.print(": ”);
    Serial.println(dataRead);
  }
}

void loop() {
}

here I did not use ORG_PIN but only CS_PIN,SK_PIN,DO_PIN,DI_PIN, after I made a simple code to read from the github guide but the code read data that should not be the following output

00:28:49.308 -> Address 0: 65535
00:28:50.831 -> Address 1: 65535
00:28:50.831 -> Address 2: 65535
00:28:50.831 -> Address 3: 65535
00:28:50.865 -> Address 4: 65535
...........

I don't know what is really wrong, if I read it using CH341 the data on the eeprom is really there but when I use this Arduino, the data is not there, is there someone who can help me?

I appreciate all your answers, thank you.

See my comment in you other thread on the same subject. Note that multiple threads on the same topic is frowned on. Pick a thread.

When you narrow this down to a single thread, please post an annotated schematic showing exactly how you have wired your project. Be sure to include all hardware components and connections. Additionally, provide links to the relevant technical data sheets or documentation for the components you are using.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.