I2C problems

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 8.

Moderator: Benj

Post Reply
User avatar
Jan Lichtenbelt
Posts: 797
Joined: Tue Feb 17, 2009 8:35 pm
Location: Haren GN, the Netherlands
Has thanked: 128 times
Been thanked: 264 times
Contact:

I2C problems

Post by Jan Lichtenbelt »

I have a flowcode working correctly with an I2C IC. Now I made a new hardware and now flowcode stops in communication with in IC.
The first sotware step is to initilise the I2C. The next step in the start the IC. So far so good. The third step is to send the salve address. But here the programm stops. (a LCD message after this step is never reached).
Does this mean the I2C communication is not correct? But why did it not start at the initilaise and/or start setp?

Kind regards

Jan

User avatar
Jan Lichtenbelt
Posts: 797
Joined: Tue Feb 17, 2009 8:35 pm
Location: Haren GN, the Netherlands
Has thanked: 128 times
Been thanked: 264 times
Contact:

Re: I2C problems

Post by Jan Lichtenbelt »

Sorry, I forgot the pull up resistances on the SDAT and SCL of the I2C IC.

Post Reply