Content originally posted in LPCWare by blasiis on Mon May 24 03:09:10 MST 2010
I use LPC1758 with LPcXpresso.
As per attached sample, I set a break after the instruction
ADCx-> ADCR = tmp;
The value to be write in the register ADCR is 0x201100 in hex (look tmp value) , but the value shown in the register ADCR in the bottom right windows is 3118c (3118c is = 201100 decimal to hexadecimal !!!!!)
In the memory is correct, only the register has the wrong value
Error ??
Thanks