Thursday, November 16, 2006

Maybe RTFMing was the problem

In my defense, looking again at user.manual.lpc2141.lpc2142.lpc2144.lpc2146.lpc2148.pdf, it isn't really clear that AD0.0 doesn't exist. In the section that describes the Input pins, AD0.0 is not listed, but the accompanying text gives an example of AD0.0 and AD0.1 being used as ADC0 inputs. Also, in the section describing the bits of the A/D Control Register, the section describing bits 7:0 states that setting bit 0 selects Pin AD0.0, and, moreover, the reset state is having bit 0 set! How confusing is that?

I contacted a friend at the company formerly known as Philips, and he confirmed that the AD0.0 and AD0.5 did not exist on the LPC2148, and this was because they had used pins 10 and 11 for the USB interface. The user manual for the 214X family was derived from the 213X family user manual, and it will be updated.

I guess this was a case where the simulator was more correct than the documentation for the real silicon!

0 Comments:

Post a Comment

<< Home