I2C2 not fully working on PIC24EP512GU810

A forums to allow bugs and problems with Flowcode v6 to be reported and resolved.

Moderator: Benj

patrick schoon
Posts: 51
Joined: Mon Aug 23, 2010 7:07 pm
Location: Amsterdam
Has thanked: 4 times
Been thanked: 9 times
Contact:

I2C2 not fully working on PIC24EP512GU810

Postby patrick schoon » 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

User avatar
Benj
Matrix Staff
Posts: 14151
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4330 times
Been thanked: 4080 times
Contact:

Re: I2C2 not fully working on PIC24EP512GU810

Postby Benj » Wed Sep 12, 2018 9:41 am

Hello,

Please can you post a simple program that demonstrates the behaviour and I will investigate for you.