AT91x40 Series Board Design and Troubleshooting Guide

Discussion about SAM7 Series and ARM7TDMI based products.

Moderator: nferre

User avatar
pfilippi
Contact:
Posts: 327
Joined: Fri Feb 13, 2004 7:53 pm

AT91x40 Series Board Design and Troubleshooting Guide

Tue Mar 29, 2005 9:54 pm

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.
Joe
Posts: 8
Joined: Fri Mar 19, 2004 7:10 pm

Mon Aug 01, 2005 6:21 pm

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
User avatar
stephan_cadene
Contact:
Location: Atmel Corp.
Posts: 163
Joined: Thu Feb 12, 2004 7:48 pm

Tue Aug 02, 2005 9:49 am

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.
Joe
Posts: 8
Joined: Fri Mar 19, 2004 7:10 pm

Tue Aug 02, 2005 10:45 am

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
User avatar
stephan_cadene
Contact:
Location: Atmel Corp.
Posts: 163
Joined: Thu Feb 12, 2004 7:48 pm

Tue Aug 02, 2005 11:02 am

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 ?
Joe
Posts: 8
Joined: Fri Mar 19, 2004 7:10 pm

Tue Aug 02, 2005 12:02 pm

Scadene,

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

Thank you very much for your help and your patience.

Joe

Return to “SAM7 ARM7TDMI MCU”

Who is online

Users browsing this forum: No registered users and 3 guests