Go Down

Topic: Serial Data Flash Atmel AT45DB161 - How to use it?? (Read 2704 times) previous topic - next topic


I have this Atmel memory of 16Mbit: http://docs-europe.electrocomponents.com/webdocs/0dc4/0900766b80dc4809.pdf

Somebody can help me to use it??

Thank's all!!!


Looks like it uses SPI.

Wire it this way:
FLASH 1 SI <- Arduino MOSI (D11)
FLASH 2 SCK <- Arduino SCK (D13)
FLASH 3 RESET <- +3.3v
FLASH 4 CS <- Arduino data pin, typically D10
FLASH 5 WP <- Arduino 3.3v
FLASH 6 VCC <- Arduino 3.3v
FLASH 7 GND <-> Arduino GND
FLASH 8 SO -> Arduino MISO (D12)

Set the CS pin LOW to activate it.
Use SPI.transaction() to send commands and receive results.
Set the CS pin HIGH to end the command.

Send Bitcoin tips to: 1G2qoGwMRXx8az71DVP1E81jShxtbSh5Hp


Atmel actually wrote a library to talk to this chip. It works very nicely. Check out the DataFlash library.

Go Up

Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

via Egeo 16
Torino, 10131