Menu

pps for 16F18426?

Help
2019-01-10
2019-01-10
  • Jim giordano

    Jim giordano - 2019-01-10

    I'm trying to convert my program from using the 16F18324 to the 16F18426 in order to use the more accurate adc.

    I can't seem to figure out the new style Microchip documention for the 16F18324. Not only are the tables harder to read, and don't print very well, I can't tell what the pps setting are supposed to be.

    For now, just to write to the lcd-

    For 16F18324, the settings are:

            SSP1CLKPPS = 0x10        ' RC0->MSSP1:SCL1
            SSP1DATPPS = 0x11        ' RC1->MSSP1:SDA1
            RC0PPS = 0x18            ' RC0->MSSP1:SCL1
            RC1PPS = 0x19            ' RC1<-MSSP1:SDA1
    

    Has anyone deciphered what the settings for 16F18426 are supposed to be?

     
  • Anobium

    Anobium - 2019-01-10

    Just use PPSTool. PPSTool does all the hard work for you,.

     
  • Jim giordano

    Jim giordano - 2019-01-10

    Thank you Evan, that worked well. Don't know how I missed that it existed :(

     
    • Anobium

      Anobium - 2019-01-10

      CRIKEY. PPSTool is a huge benefit of using Great Cow BASIC.

      :-)

       

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.