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.
I would be very happy if this could be resolved.
Regards,
Sasi
PIC18F27Q10 I2C problem
-
- Posts: 122
- http://meble-kuchenne.info.pl
- Joined: Wed Dec 02, 2020 12:11 pm
- Has thanked: 40 times
- Been thanked: 14 times
-
- Matrix Staff
- Posts: 2095
- Joined: Wed Dec 02, 2020 11:07 pm
- Has thanked: 650 times
- Been thanked: 705 times
Re: PIC18F27Q10 I2C problem
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.
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