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
PIC8F47J53 I2C Channel 1 incorrect ports/pins
Moderator: Benj
-
- Posts: 78
- Joined: Mon Jul 31, 2017 11:14 am
- Has thanked: 7 times
- Been thanked: 13 times
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: PIC8F47J53 I2C Channel 1 incorrect ports/pins
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
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
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
-
- Posts: 78
- Joined: Mon Jul 31, 2017 11:14 am
- Has thanked: 7 times
- Been thanked: 13 times
Re: PIC8F47J53 I2C Channel 1 incorrect ports/pins
Thanks for doing this!
Any chance to disclose what have you changed?
Any chance to disclose what have you changed?
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: PIC8F47J53 I2C Channel 1 incorrect ports/pins
Hello,
This was the change in the definition FCDX XML.
This was the change in the definition FCDX XML.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel