Yahoo Groups archive

Lpc2000

Index last updated: 2026-04-28 23:31 UTC

Message

Re: [lpc2000] speed access to the flash

2006-05-04 by Karl Olsen

---- Original Message ----
From: "naderus2000" <naderus2000@...>
To: <lpc2000@yahoogroups.com>
Sent: Thursday, May 04, 2006 9:31 AM
Subject: [lpc2000] speed access to the flash

> i want to know the speed access to the flash.
> i want to know if the i have jump in my code
> how long does it take to fetch new code from
> flash.(how many wait state i need on 60 MHZ)

With MAM fully enabled and MAMTIM=3, which gives the best performance at 60
MHz, a jump takes one clock (normal instruction execution) plus two clocks
for the pipeline flush plus two clocks for the two flash waitstates, giving
5 clocks in total.  A jump to some code in RAM would only take three clocks
since RAM can always be read without waitstates.

Normal data-processing instructions don't flush the pipeline, and since the
MAM hides the flash waitstates for fetching, they take one clock.


Karl Olsen

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.