Atmel website | ARM Community | AVR freaks | Technical Support
Banner
 FAQ •  Search •  Register •  Login 

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 6 posts ] 
Author Message
 Post subject: AT91x40 Series Board Design and Troubleshooting Guide
PostPosted: Tue Mar 29, 2005 9:54 pm 
Offline
User avatar

Joined: Fri Feb 13, 2004 7:53 pm
Posts: 329
Hi All,

We have posted a new Application Note for the AT91x40 Series on the ATMEL website. This application note provides directions to hardware designers when designing a board based on one of the AT91x40 microcontroller series and the AT91FR40x Flash-based products. The focus is on the verifications to be carried out at the board schematics level, thus assuring the highest probability of a right-first-time system.
For convenience, I attach it in this post.

AT91x40 Series Board Design and Troubleshooting Guide

bye


Last edited by pfilippi on Mon Feb 27, 2006 3:05 pm, edited 2 times in total.

Top
 Profile  
 
 Post subject:
PostPosted: Mon Aug 01, 2005 6:21 pm 
Offline

Joined: Fri Mar 19, 2004 7:10 pm
Posts: 8
Hi Pfilippi,

i believe there is an error in the following document:

AT91x40 Series Board Design and Troubleshooting Guide (revision A, 03/05) doc6151.pdf

The equation: TCp/2 > EBI4 + TNWAIT - EBI5 in Fig 8-1 is wrong.

The equation should be: TCp/2 > EBI4 + TNWAIT + EBI5.

Is it possible to use NWAIT pin in combination with waitstates from the EBI?
Even with TNWAIT = 0ns, the max. clock frequency is very slow (36MHz).

Many thanks in advance
Joe


Top
 Profile  
 
 Post subject:
PostPosted: Tue Aug 02, 2005 9:49 am 
Offline
User avatar

Joined: Thu Feb 12, 2004 7:48 pm
Posts: 164
Location: Atmel Corp.
Hi Joe,

Of course, the NWAIT pin is only to give more than the programmable Standard Wait States provided by the EBI. It is its only goal. After the NWAIT des-assertion, the EBI completes the remaining Standard Wait States. This is the rule.

I think Patrick shall check the formula.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Aug 02, 2005 10:45 am 
Offline

Joined: Fri Mar 19, 2004 7:10 pm
Posts: 8
Hi scadene,

many thanks for your fast response.

Ok, I can use NWAIT together with the programmed wait states. But at wich point should the NWAIT signal be asserted?

During the first low period of MCKI after the NCS is asserted or on every low period of the MCKI. Of course allways with respect to the rising edge of MCKI (setup and hold times).

I have the following problem:

The AT91FR40162 should access a very slow device. The CPU must run at 75 MHz. The external device is a CPLD. The EBI is set up with 2 waitstates.
I want assert the NWAIT in the second low period of the MCKI.

This should result in the following timing: 1 waitstate from the EBI; several additional waitstates from the NWAIT and the remanig waitstate from the EBI.

If the NWAIT pin is sampled on every low period of MCKI (with active CS) it should be not a problem.

Hope you could give me additional hints on the behaivor of the NWAIT signal.

Joe


Top
 Profile  
 
 Post subject:
PostPosted: Tue Aug 02, 2005 11:02 am 
Offline
User avatar

Joined: Thu Feb 12, 2004 7:48 pm
Posts: 164
Location: Atmel Corp.
Joe,

You have just to be scrupulous in abiding rising/falling edge time assertion (as you said), but you can assert the NWAIT pin when you want (at first, or second or... access time in term of cycle access) or I can say: It is not obligatory to assert NWAIT pin during the first access cycle. Is it your question/issue exactly ?


Top
 Profile  
 
 Post subject:
PostPosted: Tue Aug 02, 2005 12:02 pm 
Offline

Joined: Fri Mar 19, 2004 7:10 pm
Posts: 8
Scadene,

i think every thing is now clear to me!!!

Thank you very much for your help and your patience.

Joe


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: Bing [Bot] and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron