Flowcode 6.1.0.0 + Arduino Uno R3 + I2C = RESOLVED
Posted: Sat Nov 29, 2014 11:47 am
Hi there Ben et al,
Simples, Flowcode 6.1.0.0 with Arduino Uno R3. It programs directly perfectly well (I love this new feature = especially fr my son trying the Arduino currently = no need to install any Arduino software! = GREAT!) . I can turn on and off LEDs, all looks fine. Even software SPI seems to work fine. However...
New Flowchart - I2C Master Component
I2C Initialise
I2C Start
I2C Send Something (anything)
I2C Stop
No signal on SCL/SCA, very strange. Troubleshooting:
> If I turn Ports C4/C5 (hardware I2C pins on the Ardunio Uno R3) on an off, I can see a signal fine on the scope, so those pins SCL/SCA are working perfectly well.
> Option of hardware or software I2C doesn't make a difference, no signal coming out of either SCL/SCA. Any speed I use, same thing = no output. I have changed all I2C component options and didn't make a difference.
> If I use I2C software option and tell it to use any other digital pins, same result = no output seen on those pins.
> If I add an SPI software component and tell it to use pins C4/C5, I can see signals coming out of these on my scope.
> If I2C CAL is used = same results = no output at all from pins SCL/SCA
It's very weird, but I think somehow I2C component is broken on the Arduino Uno R3 on FC 6.1 SPI software seems to work just fine.
Best regards,
Ronald
Simples, Flowcode 6.1.0.0 with Arduino Uno R3. It programs directly perfectly well (I love this new feature = especially fr my son trying the Arduino currently = no need to install any Arduino software! = GREAT!) . I can turn on and off LEDs, all looks fine. Even software SPI seems to work fine. However...
New Flowchart - I2C Master Component
I2C Initialise
I2C Start
I2C Send Something (anything)
I2C Stop
No signal on SCL/SCA, very strange. Troubleshooting:
> If I turn Ports C4/C5 (hardware I2C pins on the Ardunio Uno R3) on an off, I can see a signal fine on the scope, so those pins SCL/SCA are working perfectly well.
> Option of hardware or software I2C doesn't make a difference, no signal coming out of either SCL/SCA. Any speed I use, same thing = no output. I have changed all I2C component options and didn't make a difference.
> If I use I2C software option and tell it to use any other digital pins, same result = no output seen on those pins.
> If I add an SPI software component and tell it to use pins C4/C5, I can see signals coming out of these on my scope.
> If I2C CAL is used = same results = no output at all from pins SCL/SCA
It's very weird, but I think somehow I2C component is broken on the Arduino Uno R3 on FC 6.1 SPI software seems to work just fine.
Best regards,
Ronald