MCC Generated I2C - has anyone gotten this to work on a pic16F series device?

Author
ctigs1
New Member
  • Total Posts : 4
  • Reward points : 0
  • Joined: 2017/06/18 08:39:10
  • Location: 0
  • Status: offline
2018/01/13 12:20:41 (permalink)
0

MCC Generated I2C - has anyone gotten this to work on a pic16F series device?

I am seeing lots of requests for help with this but not any results of it being fixed, workarounds, or functional code.
 
I can make the ADC code and the EUSART code work just fine, but the I2C code is broken.
 
Does ANYONE have any working example of a MCC generated I2C code?
#1

1 Reply Related Threads

    katela
    Super Member
    • Total Posts : 562
    • Reward points : 0
    • Joined: 2013/06/11 05:25:18
    • Location: South Africa
    • Status: offline
    Re: MCC Generated I2C - has anyone gotten this to work on a pic16F series device? 2018/01/13 13:01:03 (permalink)
    0
    You can use the PICDEM 2 Plus Demo Board Source Code. There is an I2C temperature sensor (TC74) example using PIC16F1937 configured with MCC. 

    Free online Microcontroller Tutorials and Projects for Hobbyists and students. From beginners to advanced. Website: www.studentcompanion.co.za
    Youtube Tutorials: http://www.youtube.com/user/StudentCompanionSA/videos
    #2
    Jump to:
    © 2018 APG vNext Commercial Version 4.5