PYNQ
PYNQ copied to clipboard
IIC 16 bit address pynq.lib.iic
Do you have a work around for IIC addresses larger than 8 bit as imx219 (RPI Cam V2) needs to be configured using 16bit addresses.
`OverflowError Traceback (most recent call last)
/usr/local/share/pynq-venv/lib/python3.8/site-packages/pynq/lib/iic.py in send(self, address, data, length, option) 99 100 """ --> 101 sent = AxiIIC._lib.XIic_Send( 102 self._virtaddr, address, data, length, option) 103 if sent == 0:
OverflowError: integer 18331 does not fit 'unsigned char' `
Hi @JackBonnellDevelopment
Can you please post your question on https://discuss.pynq.io/?