Author Topic: control differences between Atmel 25DF041A and 25LC256  (Read 2311 times)

0 Members and 1 Guest are viewing this topic.

Offline djlorenzTopic starter

  • Contributor
  • Posts: 43
control differences between Atmel 25DF041A and 25LC256
« on: January 18, 2013, 11:46:25 am »
hello,
i'm studying the really good book Exploring Pic 32, where he explains how to talk with 25LC256 spi eeprom memory
i'm using the SURE Pic32 demo board wich has a Atmel 25DF041A spi FLASH

looking both datasheets seems they have the same pinout and the same control commands...
i'm trying a simple program writing and asking the status register but i always get 255 for value :(

do you know if i can use them in the same or need i change something?

datasheets:
http://ww1.microchip.com/downloads/en/devicedoc/21822e.pdf
http://www.atmel.com/devices/at25df041a.aspx

thank you so much  ;D
 

Offline andersm

  • Super Contributor
  • ***
  • Posts: 1198
  • Country: fi
Re: control differences between Atmel 25DF041A and 25LC256
« Reply #1 on: January 20, 2013, 04:50:36 pm »
First thing to check is that the peripherals and IO pins are configured correctly, then that your code operates the chip select line correctly.


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf