SPI to Atmel AT45DB161 flash

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

SPI to Atmel AT45DB161 flash

2,110 Views
donw
Contributor IV
In the past , I have done a bit-bashed SPI to atmel flash AT45DB161,
since I could never get the 908GP32's hardware SPI to work with this part.
I think there is a compatibility problem with the way the flash expects the leading bit to be clocked out.
Has anyone implemented the 908's  SPI to the AT45DB161 ?
Labels (1)
0 Kudos
3 Replies

333 Views
bigmac
Specialist III
Hello,
 
According to the datasheet for the serial flash device, the data transfer should be compatible with either of the conditions CPOL = 0, CPHA = 0, or alternatively CPOL = 1, CPHA = 1.  I assume that you are operating both devices from the same Vdd supply of 3 volts.
 
Perhaps you might post the SPI communications code you are using, and provide more detail on the nature of the problem you are experiencing.
 
Regards,
Mac
 
0 Kudos

333 Views
donw
Contributor IV
Thanks BigMac. I will have another attempt at it later..
0 Kudos

333 Views
awmark
Contributor I
No, but I've interfaced an S908JM60 to an Atmel 25FS010 Flash part without any problems (hopefully), using the built in SPI and interrupts.
0 Kudos