Wait states for reading and writing flash

#1174337
Vinit Bidkar wrote:
>
> CPU - AT91SAM7X256
>
> Which factor decides the number of wait states required for reading and
> writing the flash.
>
> i am running the cpu at 32 MHz, so how many wait states are needed for
> reading and writing flash?

At the risk of sounding like I am saying RTFM (which I am), the answer
is on page 612 of
http://www.keil.com/dd/docs/datashts/atmel/at91sam7x128_256_pc.pdf

Since you only get single cycle access at or below 30MHz, you may find
that you get better performance by reducing the clock slightly so you
can use zero wait state.

A newer revision of the manual is available at
http://www.atmel.com/dyn/resources/prod_documents/doc6120.pdf but it is
a far slower download. In this revision it is on page 627.

Clifford
OP #1174338
Clifford Slocombe wrote:
> Vinit Bidkar wrote:
>>
>> CPU - AT91SAM7X256
>>
>
> At the risk of sounding like I am saying RTFM (which I am), the answer
> is on page 612 of
> http://www.keil.com/dd/docs/datashts/atmel/at91sam7x128_256_pc.pdf
> A newer revision of the manual is available at
> http://www.atmel.com/dyn/resources/prod_documents/doc6120.pdf but it is
> a far slower download. In this revision it is on page 627.
>
> Clifford

Thanks a lot Clifford.

I will consider your inputs. Also i think i should have searched the
datasheet bit more thoroughly :-)

Reply

A question of your own? This thread is over 18 years old. Ask it in a thread of its own – more people read along there, and it gets answered more often and sooner.

Start a new thread

A fix, an addition or feedback on this thread? Then reply here.

Formatting
  • [c]C-Code[/c]
  • [code]code in other languages, ASCII drawings[/code]
  • [math]formula (LaTeX syntax)[/math]
  • [[Title]] – link to an article
  • Link to another post: right-click its post ID (#8078628), copy the address, paste it into the text

More about formatting

Post long source code as an attachment, not in the text.

Already registered? Log in

Not shown to anyone. We send you a link; your post appears once you confirm it there.

By submitting you create a free account and accept the terms of use.