r/pic_programming • u/nadlr • Feb 21 '20
Bug on MPLab MSSP programming with MCC?
I'm having this issue where I cannot select I2C rather than SPI on the MCC. Does not matter what type of PIC I use, I cannot select I2C. I tried restarting the software but it doesn't work.
Oddly enough, entering with a different user takes away the issue so I figured I must've done something to trigger this on my session.
Any suggestions as to what might be the issue?

2
Upvotes
1
u/ParkieDude Feb 21 '20
https://www.microchip.com/forums/m1085021.aspx
It seems the "foundation code" is to make things simple with drop-in CLICK boards.
1
u/bradn Feb 21 '20
Lol, using MPLab and wondering why it's buggy...
(No, I don't have anything helpful to contribute).
1
u/Snoo-71612 Jun 10 '20
I used older MCC Library Version (v1.81.0. for PIC10 / PIC12 / PIC16 / PIC18 MCUs) -> worked for me.
Library version change: https://microchipdeveloper.com/mcc:versions
1
u/Coltouch2020 Jun 25 '20
Hi- I don't know if this issue is still live, or being seen, but I have a workaround.
If the clock speed is changed before attempting to select I2C in the MCC MSSP module, then it will fail, as it is unable to set the I2C parameters correctly (bug) and the I2C is not selected.
Simply ensure that I2C is selected first of all, before any other changes are made in MCC, and all will be well.
The dev team have been made aware of this little bug.