• AVR Freaks

Hot!PIC18F2580 IPR1:PSPIP status conflict

Author
cabletie
Starting Member
  • Total Posts : 42
  • Reward points : 0
  • Joined: 2011/07/02 06:21:46
  • Location: Zulu -5
  • Status: offline
2020/09/21 06:43:06 (permalink)
5 (1)

PIC18F2580 IPR1:PSPIP status conflict

Development Environment:
MPLABX 5.2, XC8 v2.0, PIC18F2580

  Searched entire site with 237 results none of which
provide an answer, though, sorry if I may have missed it.

  There exists a conflict with IPR1:PSPIP status.
In the 18F2580 datasheet (circa 2009 - DS39637D):

page -  bit status in NOTE 1
130  -  set      IPR1
159  -  clear     TIMER1 Register Associations

Please clarify.
Thanks
#1

4 Replies Related Threads

    ric
    Super Member
    • Total Posts : 28677
    • Reward points : 0
    • Joined: 2003/11/07 12:41:26
    • Location: Australia, Melbourne
    • Status: online
    Re: PIC18F2580 IPR1:PSPIP status conflict 2020/09/21 13:29:38 (permalink)
    0
    Yes, they give conflicting instructions, but as the IF and IE bits don't exist, the IP bit is hardly going to matter.
    There's little value chasing up Microchip to change a 16 year old datasheet that hasn't been updated for 11 years though...
     

    I also post at: PicForum
    Links to useful PIC information: http://picforum.ric323.co...opic.php?f=59&t=15
    NEW USERS: Posting images, links and code - workaround for restrictions.
    To get a useful answer, always state which PIC you are using!
    #2
    cabletie
    Starting Member
    • Total Posts : 42
    • Reward points : 0
    • Joined: 2011/07/02 06:21:46
    • Location: Zulu -5
    • Status: offline
    Re: PIC18F2580 IPR1:PSPIP status conflict 2020/09/21 19:20:35 (permalink)
    0
    I agree.  But the bit is labeled as "reserved" and it's state is supposed to be explicitly maintained.
    I don't/never really knew what "reserved" meant from the datasheet/silicon designers eyes; so, I can only
    try to follow instructions.    My guess is: should that bit not be maintained as required then who
    knows what kind of erratic behavior lurks in the dark deep recesses of that 28 pin block of technological
    wonderment.     I gots to know!! SET or CLEAR?

    #3
    ric
    Super Member
    • Total Posts : 28677
    • Reward points : 0
    • Joined: 2003/11/07 12:41:26
    • Location: Australia, Melbourne
    • Status: online
    Re: PIC18F2580 IPR1:PSPIP status conflict 2020/09/21 20:20:43 (permalink)
    0
    What state do you get if you read that register?
     

    I also post at: PicForum
    Links to useful PIC information: http://picforum.ric323.co...opic.php?f=59&t=15
    NEW USERS: Posting images, links and code - workaround for restrictions.
    To get a useful answer, always state which PIC you are using!
    #4
    cabletie
    Starting Member
    • Total Posts : 42
    • Reward points : 0
    • Joined: 2011/07/02 06:21:46
    • Location: Zulu -5
    • Status: offline
    Re: PIC18F2580 IPR1:PSPIP status conflict 2020/09/23 08:31:25 (permalink)
    0
    I appreciate your reply!  Thanks.   I see on page 58, in the Table 5.4
    INITIALIZATION CONDITIONS FOR ALL REGISTERS where that bit
    is defined as " - = unimplemented, read as '0' ".  I have not actually
    tried to read it yet, but will take it on your guidance to be a non-issue.
    I will set up a watch on IPR1 next time I'm there....  thanks again!
    I appreciate it.
    #5
    Jump to:
    © 2020 APG vNext Commercial Version 4.5