Menu

16f1782 and 16f1783 Missing SSP Definition

kent_twt4
2016-08-12
2016-08-14
  • kent_twt4

    kent_twt4 - 2016-08-12

    Went to use I2C on my 16f1783 chip and got an error with bit not being set. Missing SSP1CON1 definition cleared it up.

    SSP1CON1,533
    
     
    • Anobium

      Anobium - 2016-08-14

      Cheers Kent.

      Can you post the code so I can reproduce (minimal code needed to make eror happen - nothing fancy)? I am puzzled how SSP1CON1 was called from HWI2C. I just want to make sure we do not have a side effect of making something else work. :-)

       
  • kent_twt4

    kent_twt4 - 2016-08-14

    Well uh, because it wasn't HWI2C, but my own home rolled version. So, let me paraphrase, the missing register definition puts manual register control in jeopardy :-)

     
    • Anobium

      Anobium - 2016-08-14

      yes.... that would explain why i could not replicate. LOL. Case closed.

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.