PIC8F47J53 I2C Channel 1 incorrect ports/pins
Posted: Thu Aug 09, 2018 10:05 am
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
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