Hi Guys I'm having a problem with the I2C component in V7 as it wont let me select the SDA and SCL pins when i click on the dropdown menus it is blank how can i sort this out? as i deleted flowcode downloaded it again reloaded it still the same thing is happening
I2C component faulty
-
- Posts: 139
- 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
-
- Matrix Staff
- Posts: 1978
- Joined: Mon Dec 07, 2020 10:06 am
- Has thanked: 519 times
- Been thanked: 706 times
Re: I2C component faulty
Hello,
What chip are you using? Can you attached your project file?
I've just tried the 16F18877 in v7 and it appears to be working correctly there.
Would using a software channel or upgrading to v10 be an option?
What chip are you using? Can you attached your project file?
I've just tried the 16F18877 in v7 and it appears to be working correctly there.
Would using a software channel or upgrading to v10 be an option?
Regards Ben Rowland - MatrixTSL
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel
-
- Posts: 139
- Joined: Mon Mar 08, 2021 11:25 am
- Location: Cape Town South Africa
- Has thanked: 41 times
- Been thanked: 12 times
Re: I2C component faulty
Hi Ben
I'm using the 18F47K40 I have V9 as well but the program wont compile in V9 so i have to use V7 as i really don't have the time to reprogram the whole project. V10 I would like to get but to expensive for me at the moment as i live in South Africa its like 20 to 1 exchange rate.
I have fired up my old PC and tried programming there on both machines I'm running V7.3.0.5 What I have found on the old machine I can set channel 1 and 2 of the I2C. On the 18F47K40 chip I'm using its connected to clock C3, Data C4, but if i set it to channel 1 or 2 it just hangs on the first read memory. If i set it to software on the first read it works but when you try to write a bite to memory using the SendByte Transaction it goes through all the motions but dos not store. If I write a number of bytes using the TransmitBite method it writes to memory without a problem.
I hope I'm making sense
My board has been working for a few years without problems so really not sure what could of caused this as the program has not been changed in a while
I'm using the 18F47K40 I have V9 as well but the program wont compile in V9 so i have to use V7 as i really don't have the time to reprogram the whole project. V10 I would like to get but to expensive for me at the moment as i live in South Africa its like 20 to 1 exchange rate.
I have fired up my old PC and tried programming there on both machines I'm running V7.3.0.5 What I have found on the old machine I can set channel 1 and 2 of the I2C. On the 18F47K40 chip I'm using its connected to clock C3, Data C4, but if i set it to channel 1 or 2 it just hangs on the first read memory. If i set it to software on the first read it works but when you try to write a bite to memory using the SendByte Transaction it goes through all the motions but dos not store. If I write a number of bytes using the TransmitBite method it writes to memory without a problem.
I hope I'm making sense
My board has been working for a few years without problems so really not sure what could of caused this as the program has not been changed in a while
-
- Posts: 139
- Joined: Mon Mar 08, 2021 11:25 am
- Location: Cape Town South Africa
- Has thanked: 41 times
- Been thanked: 12 times
Re: I2C component faulty
Another thing is if i try to program the chip from my new PC the compiler hangs. I thought that the compiler was corrupt so i copied from old machine into new machine still no luck. I Have done a windows 11 repair as i thought something might be corrupt with windows then i removed V7 and reloaded it still no luck not sure where to go from here now