I2C fault when compiling

For general Flowcode discussion that does not belong in the other sections.
Post Reply
jollybv
Posts: 136
http://meble-kuchenne.info.pl
Joined: Mon Mar 08, 2021 11:25 am
Location: Cape Town South Africa
Has thanked: 41 times
Been thanked: 12 times

I2C fault when compiling

Post by jollybv »

Hi Guys
I having a problem compiling my program in V9 looks like something wrong with the I2C Master and slave
Screenshot 2021-06-28 154931.png
Screenshot 2021-06-28 154931.png (47.76 KiB) Viewed 4652 times

Steve-Matrix
Matrix Staff
Posts: 1465
Joined: Sat Dec 05, 2020 10:32 am
Has thanked: 204 times
Been thanked: 347 times

Re: I2C fault when compiling

Post by Steve-Matrix »

Can you please post a program that causes this error - this will help us to solve the problem.

jollybv
Posts: 136
Joined: Mon Mar 08, 2021 11:25 am
Location: Cape Town South Africa
Has thanked: 41 times
Been thanked: 12 times

Re: I2C fault when compiling

Post by jollybv »

Hi Steve

Thanks for the quick reply, I have sent you the program in a privet message

BenR
Matrix Staff
Posts: 1926
Joined: Mon Dec 07, 2020 10:06 am
Has thanked: 501 times
Been thanked: 686 times

Re: I2C fault when compiling

Post by BenR »

Hello,

Looks like maybe one of the connection pin properties are unconnected. I could be wrong but it's worth checking.

BenR
Matrix Staff
Posts: 1926
Joined: Mon Dec 07, 2020 10:06 am
Has thanked: 501 times
Been thanked: 686 times

Re: I2C fault when compiling

Post by BenR »

Hello,

This is the problem, there are no pins specified for I2C.

MissingPins.jpg
MissingPins.jpg (57.62 KiB) Viewed 4626 times

jollybv
Posts: 136
Joined: Mon Mar 08, 2021 11:25 am
Location: Cape Town South Africa
Has thanked: 41 times
Been thanked: 12 times

Re: I2C fault when compiling

Post by jollybv »

Hi Ben

Thanks not quite sure why when you open a program that was created in V7 it dose not open with the same settings like both the UART'S are set to 9600 and channel 1 and now the I2C is not connected. I Now have another error

E-P_U6_V0-4-7-1_Master_Update_newBoard.c: 567: (1250) could not find space (250 bytes) for variable _FCV_01211_CircularBuffer1__DATA

which is strange as the system compiles in V& but not V9

Post Reply