I2C Chanel Err (SOLVED)

Any bugs you encounter with Flowcode should be discussed here.
Post Reply
bercioiu
Posts: 9
http://meble-kuchenne.info.pl
Joined: Thu Dec 03, 2020 9:21 pm
Location: Romania
Has thanked: 7 times

Flowcode v10 I2C Chanel Err (SOLVED)

Post 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!
Attachments
test_blue_10_TMP.fcfx
(16.65 KiB) Downloaded 20 times
err.png
err.png (238.71 KiB) Viewed 486 times
I2C_Ch1.png
I2C_Ch1.png (285.43 KiB) Viewed 486 times
Last edited by bercioiu on Tue Aug 05, 2025 4:18 pm, edited 1 time in total.

medelec35
Matrix Staff
Posts: 2080
Joined: Wed Dec 02, 2020 11:07 pm
Has thanked: 642 times
Been thanked: 697 times

Flowcode v10 Re: I2C Chanel Err

Post 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).
Attachments
PIC_CAL_I2C.c
(31.34 KiB) Downloaded 30 times
Martin

bercioiu
Posts: 9
Joined: Thu Dec 03, 2020 9:21 pm
Location: Romania
Has thanked: 7 times

Re: I2C Chanel Err

Post by bercioiu »

Thank you, Martin!
You helped me for the thousandth time! Compiles correctly now.

medelec35
Matrix Staff
Posts: 2080
Joined: Wed Dec 02, 2020 11:07 pm
Has thanked: 642 times
Been thanked: 697 times

Re: I2C Chanel Err (SOLVED)

Post by medelec35 »

You're welcome.
I'm glad I have resolved the issue for you.
Thanks for the update.
Martin

Post Reply