Read iic data kv260

I am using Ubuntu 20.04 on the Kria Kv260 AI starter kit. I am trying to get data from an IMU which is connected to the pmod pins on the board. The overlay appears to be downloading properly, and my script can successfully use the send and receive AXI IIC calls. I’m wondering if there is a way for me to actually SEE the data in the registers.

Here is my jupyter notebook:

I believe it is working because the send/receive calls only work with the address of the IMU. Any thoughts?

1 Like

Hi @ksull_pynq,
Welcome to PYNQ forum.
could you please try rx_data = bytes(1) instead of rx_data = [ ].
I think it will fix your problem.

Mizan

2 Likes

That worked!! Thank you so much!!