Motherboard Forums


Reply
Thread Tools Display Modes

SPI Data Flash using with AT91RM9200 208pin

 
 





















Saeed
Guest
Posts: n/a

 
      05-05-2006, 07:18 PM


Hi, I'm trying to build a system using AT91RM9200 208pin (Linux) and
would greatly appreciate anyone share his experiance on using just SP
Data Flash like AT45DB642 on AT91RM9200 208pin without using other kind o
memory on Linux



 
Reply With Quote
 
Ulf Samuelsson
Guest
Posts: n/a

 
      05-05-2006, 07:42 PM
Saeed wrote:
> Hi, I'm trying to build a system using AT91RM9200 208pin (Linux) and I
> would greatly appreciate anyone share his experiance on using just SPI
> Data Flash like AT45DB642 on AT91RM9200 208pin without using other
> kind of memory on Linux


Since the AT45DB642 is obsolete, you want to move to AT45DB642D....

You should limit your SPI speed to about 5 Mbps if you use Ethernet
or Compactflash or other heavy DMA activity.
If you want to run faster then you should make a H/W workaround for Errata
#13.

!DF_CS = !NPCS0 or !GPIO

The boot code will force NPCS0 low enabling the dataflash chip select.
The GPIO signal is used as chip select all other times.
This added gate should allow you to run much much faster on the SPI.

If you insist on using the AT45DB642 (maybe on an old board) ,
then you must take care of the 250 ns
hold time of the AT45DB642 (only 5 ns for the 642D) which is incompatible
with the Linux/U-Boot Drivers. Only found out this problem last week.


--
Best Regards,
Ulf Samuelsson

This message is intended to be my own personal view and it
may or may not be shared by my employer Atmel Nordic AB


 
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off



All times are GMT. The time now is 08:48 AM.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43