PYNQ: PYTHON PRODUCTIVITY FOR ZYNQ

Trouble with i2c on Pynq-z2

Hello, I have been having trouble using i2c on the Pynq board.

I am using the BME280 6 pin sensor. I am unable to detect it in i2c-detect from the linux terminal and unable to get information from it using the jupyter notebook I created based on the rpi base with the microblaze.

I have the pins connected to GPIO pins 2, 3 on the raspberry pi header and am using 10k pull up resistors.

Any advice on this topic would help. Thanks in advance.

You won’t be able to detect it in linux terminal; it is only visible to your microblaze - I assume you are using the base overlay. There are examples of using i2c devices on rpi header. e.g.