Found this when setting up MSSP2 as a slave with interrupts enabled and 7 bit addressing. In the "I2C2_Open()" function the slave mask is set using "I2C2_SlaveSetSlaveMask(I2C2_SLAVE_MASK);". MCC only allows a value in the range 0-127 for this which is ok..
↧