PIC18F27Q10 I2C problem

Any bugs you encounter with Flowcode should be discussed here.
Post Reply
Sasi
Posts: 121
http://meble-kuchenne.info.pl
Joined: Wed Dec 02, 2020 12:11 pm
Has thanked: 40 times
Been thanked: 14 times

Flowcode v10 PIC18F27Q10 I2C problem

Post by Sasi »

Hello,

I would like to implement distance measurement using a PIC18F27Q10 MCU.
I have connected a VL53L0X sensor and an SSD1306 OLED display to a common I2C bus.

a.) I’ve observed that when I set the channel 1, there is no activity on the I2C bus at all.

b.) When I use channel 2, the display works, but the TOF sensor does not.
In the test project, when the TOF sensor Component Macro runs, the CLK line remains "LOW" level in idle state, which causes the protocol not to work.

I updated all component macros to the latest release before testing.
18F27Q10_I2C_test.fcfx
(19.46 KiB) Downloaded 5 times
I would be very happy if this could be resolved.
Regards,
Sasi

Sasi
Posts: 121
Joined: Wed Dec 02, 2020 12:11 pm
Has thanked: 40 times
Been thanked: 14 times

Re: PIC18F27Q10 I2C problem

Post by Sasi »

I forgot to mention that I also tested the attached project with a PIC16F18875 MCU and it works fine with it.

Post Reply