I2C2 not fully working on PIC24EP512GU810
Posted: Tue Sep 11, 2018 10:24 pm
Hey guys,
In my FC6 project i use I2C1 port as well the I2C2 port.
I2C1 (channel1) port is working well, I2C2 not.
When Initializing the I2C2 (channel2) port at startup It blocks the alternative outputs ASCL2 and ASDA2 and no data from the Main SCL2/SDA2 port.
Experimenting with the fuse bit settings does not result in any difference.
When setting the channel to software mode i get data from the selected pins but still the ASCL2/ASDA2 outputs are blocked.
When not using the I2C2 bus the Alternative ports are free for use
Please check.
Regards,
P. Schoon
In my FC6 project i use I2C1 port as well the I2C2 port.
I2C1 (channel1) port is working well, I2C2 not.
When Initializing the I2C2 (channel2) port at startup It blocks the alternative outputs ASCL2 and ASDA2 and no data from the Main SCL2/SDA2 port.
Experimenting with the fuse bit settings does not result in any difference.
When setting the channel to software mode i get data from the selected pins but still the ASCL2/ASDA2 outputs are blocked.
When not using the I2C2 bus the Alternative ports are free for use
Please check.
Regards,
P. Schoon