Page 1 of 1

I2C Chanel Err (SOLVED)

Posted: Tue Aug 05, 2025 8:03 am
by bercioiu
Hello!
It seems that I can't use I2C on the hardware support of the pic, I get an error when compiling. If I select I2C software, it compiles correctly, but the display moves very slowly. In FC8 this doesn't happen, but I can't use the fonts from FC10...
I'm using the pic 18F26K20, with the clock and internal mclr, at a frequency of 64 MHz.
I appreciate any help!

Re: I2C Chanel Err

Posted: Tue Aug 05, 2025 12:39 pm
by medelec35
Hello.
I have fixed the CAL, so you can now use I2C on 18F26K20.
Hopefully I have not broken any other targets in the process.

Browse to this location using file explorer, it's hidden by default so just paste the link into your address bar.

Code: Select all

%ProgramData%\MatrixTSL\FlowcodeV10\CAL\PIC
Place the attached C file.
You will need to reload your project file for the fix to take place.
If you run any library updates, then the PIC_CAL_I2C.c you added will be overwritten, so it will stop working again (unless the PIC_CAL_I2C.c update has been pushed).

Re: I2C Chanel Err

Posted: Tue Aug 05, 2025 4:17 pm
by bercioiu
Thank you, Martin!
You helped me for the thousandth time! Compiles correctly now.

Re: I2C Chanel Err (SOLVED)

Posted: Wed Aug 06, 2025 8:20 am
by medelec35
You're welcome.
I'm glad I have resolved the issue for you.
Thanks for the update.