Quantcast
Channel: MPLAB® Code Configurator
Viewing all articles
Browse latest Browse all 2062

Error in MCC Generated I2C Slave Code for PIC16F1827 (birty)

$
0
0
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..

Viewing all articles
Browse latest Browse all 2062

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>