Page 1 of 1

PIC8F47J53 I2C Channel 1 incorrect ports/pins

Posted: Thu Aug 09, 2018 10:05 am
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

Re: PIC8F47J53 I2C Channel 1 incorrect ports/pins

Posted: Thu Aug 09, 2018 10:22 am
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

Re: PIC8F47J53 I2C Channel 1 incorrect ports/pins

Posted: Thu Aug 09, 2018 10:49 am
by streammaster
Thanks for doing this!

Any chance to disclose what have you changed?

Re: PIC8F47J53 I2C Channel 1 incorrect ports/pins

Posted: Thu Aug 09, 2018 10:56 am
by Benj
Hello,

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