Hi Alice, thanks for your reply!
I am currently using the reset value. However, this is the highest number of clocks for Flash access, so its performance would be lowest.
My "special need", which I think is not very special, is that the code runs as fast as possible. In my case the power consumption isn't important.
So I was thinking that by changing the setting in FLASHTIM, i.e. by using the value 1 or 0 instead of 2, I could get some speed increase. However, I don't know if it is safe to do so, and there's no information I can find that allows me to determine, which values are safe to use. The LPC845.h file does not provide any information about that, either. It is providing the same information as in the user manual.
Common sense would indicate that the safe values to use are dependent on the CPU clock, i.e. the higher the CPU clock frequency is, the more clock cycles I need to configure for Flash access. But there is no data available for me to decide.
The user manual of a completely different chip, UM10732 Rev. 1.4, provides an example of what I need, in Table 354. The chip has the same FLASHCFG register as the LPC845, but its description is more comprehensive, as it includes the clock frequency data I need. I don't understand why this was omitted in the user manual for the LPC845.
Sorry for such a lot of text, I wanted to make sure you understand my problem.
Thanks!