PIC8F47J53 I2C Channel 1 incorrect ports/pins

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 8.

Moderator: Benj

Post Reply
streammaster
Posts: 78
Joined: Mon Jul 31, 2017 11:14 am
Contact:

PIC8F47J53 I2C Channel 1 incorrect ports/pins

Post by streammaster »

Hi Ben,

I just spotted that the definition file appears to be incorrect for PIC8F47J53:

I noticed that the I2C port Channel 1 have incorrect association of the SCL and SDA pins.

Channel 1:
SCL currently $PORTC.3 should be $PORTB.4
SDA currently $PORTC.4 should be $PORTB.5

How this can be corrected.

I'm not sure if I use this config on new project would create a problem?

One thing: it appears that this setting has no issue with compiler, on the project which i originally have done in FV V7 and didnt touch the configuration but opened it in FC8. It compiles correctly for the physical hardware.
I do not understand the concept in your DCFX files so i need your help to configure it correctly.

Thanks,

Igor

User avatar
Benj
Matrix Staff
Posts: 14848
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Contact:

Re: PIC8F47J53 I2C Channel 1 incorrect ports/pins

Post by Benj »

Hello Igor,

Many thanks for letting us know. I have now fixed the problem and added the fix to the v8 updates system.

See here for details on using the system.
https://www.matrixtsl.com/wiki/index.ph ... ic_Updates

streammaster
Posts: 78
Joined: Mon Jul 31, 2017 11:14 am
Contact:

Re: PIC8F47J53 I2C Channel 1 incorrect ports/pins

Post by streammaster »

Thanks for doing this!

Any chance to disclose what have you changed?

User avatar
Benj
Matrix Staff
Posts: 14848
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Contact:

Re: PIC8F47J53 I2C Channel 1 incorrect ports/pins

Post by Benj »

Hello,

This was the change in the definition FCDX XML.
FCD_XML.jpg
FCD_XML.jpg (13.18 KiB) Viewed 1197 times

Post Reply