• AVR Freaks

PIC 24 setting as I2C-Slave

Author
vzaka
New Member
  • Total Posts : 4
  • Reward points : 0
  • Joined: 2007/11/12 12:53:26
  • Location: 0
  • Status: offline
2020/01/29 14:55:06 (permalink)
0

PIC 24 setting as I2C-Slave

Please, which register (and bits)  is responsible for I2C_Slave setting  in PIC24 (PIC24EP512810)?
In PIC18,  I have used SSPCON1 = 0x36 for I2C_Slave.
Thank you so much.
 
#1

2 Replies Related Threads

    Mysil
    Super Member
    • Total Posts : 3638
    • Reward points : 0
    • Joined: 2012/07/01 04:19:50
    • Location: Norway
    • Status: offline
    Re: PIC 24 setting as I2C-Slave 2020/01/30 22:41:37 (permalink)
    0
    Hi, vzaka
     
    PIC24 are different from PIC18 devices.
    There is No MSSP peripheral in PIC24, and thus no SSP... registers.
    Instead  PIC24 have a peripheral that is for I2C only and have I2C... register names.
     
    Read the Datasheet for the device you are actually using.
    There is No device type PIC24EP512810 ,
    What device type are you actually using? There should be 2 more characters in device type specification.
    If you search using Google or within Microchip website,
    you will find the Microchip Webpage for the device you are using.
     
    The product webpage for the device type have a Documentation Tab with links to correct Datasheet for the device.
    Actual Datasheet may cover more than one device type. 
    There is also  Family Reference Manual (FRM) documents that describe each peripheral type in more detail,
    download and read: dsPIC/PIC24 FRM, I2C
    http://ww1.microchip.com/downloads/en/DeviceDoc/70000195g.pdf   
     
        Mysil
    #2
    vzaka
    New Member
    • Total Posts : 4
    • Reward points : 0
    • Joined: 2007/11/12 12:53:26
    • Location: 0
    • Status: offline
    Re: PIC 24 setting as I2C-Slave 2020/01/31 10:33:17 (permalink)
    0
    Hello Mysil,
    Thank you very much for your help.
    Best Regards,
     V. Zaka
     
     
    #3
    Jump to:
    © 2020 APG vNext Commercial Version 4.5