Content originally posted in LPCWare by filartrix on Wed Jul 15 06:15:52 MST 2015
Hi,
I think that there is a mistake in the user manual, Table 81.
from that table it seems that to write CPUCTRL register I need to write the following:
0xC0C480xx
where 0xC0C4 comes from (in table 81, last line):
31:16 - - Must be written as 0xC0C4 for the write to have an effect. -
80 comes from (table 81 second-last lines):
14:7 - - Reserved. Read value is undefined, only zero should be written. -
15 - - Must be written as a 1. -
and xx are the user configuration bits.
I noticed that such command does not work, I need to write instead: 0xC0C400xx, thus I suppose there is an error in the second last line of table 81:
15 - - Must be written as a 1. -.
More in detail the value I write in CPUCTRL register is: 0xC0C4000D
Please, let me know If I'm wrong