PIC18F27Q10 I2C problem

Any bugs you encounter with Flowcode should be discussed here.
Post Reply
Sasi
Posts: 122
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 6 times
I would be very happy if this could be resolved.
Regards,
Sasi

Sasi
Posts: 122
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.

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

Re: PIC18F27Q10 I2C problem

Post by Sasi »

Dear Support Team,
The problem still persists, and I would truly appreciate any assistance or technical support you could provide.
Thank you very much in advance.
Sasi

medelec35
Matrix Staff
Posts: 2095
Joined: Wed Dec 02, 2020 11:07 pm
Has thanked: 650 times
Been thanked: 705 times

Re: PIC18F27Q10 I2C problem

Post by medelec35 »

Hi Sasi.
Apologies for the delay in replying.
I2C on later 18F devices is a known issue.
We have made some progress in getting I2C to work, but we are not finished yet.
Hopefully next week we will have a working I2C component.
Martin

Post Reply