Skip to content

AT45DB041E always busy #25

@frabert

Description

@frabert

Hi! I'm trying to interface an Arduino Leonardo to an AT45DB041E, but I seem to never be able to write to it, as it always gets stuch waiting for the device to get ready:

  SPI.begin();
  flash.setup(1);
  flash.begin();

  flash.bufferWrite(1, 0); // Aways gets stuck here
  for(int i=0;i < 256; i++)
  {
    SPI.transfer(0x00);
  }
  flash.bufferToPage(1, 0);

Any idea what am I doing wrong?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions