I'm using a 18f4431 and when I read the 18fxx31 datasheet I've noticed that there was different adresses for the same register (http://ww1.microchip.com/downloads/en/DeviceDoc/39616b.pdf).
For example, the register SSPCON had the address FC6h at the page 67 (register map) and on the page 215 (register 18-2) it had the address 14h.
With Mplab the first address seems to work but in every application I've seen evrybody use the second. What address should I use?
Am I going crazy or is it totally normal and I don't know how to read a datasheet ?
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
Posted: Sun Mar 13, 2005 3:03 pm
No, I saw it too, when I was recently working on a 18F4431 problem
for someone on this board. What you're seeing is laziness by the
tech writer at Microchip. They must have copied a section of the
SSPCON data sheet from a 16F series PIC where the SSPCON address
is normally at 0x14.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum