I have tasks to emulate the I2C master which allows the testbench to be very high-level (see simulation directory). This slave implementation has been tested with FT4222 and Raspberry Pi I2C masters.
This repository contains a short example script that tests out the PCA9685 16-channel, 12-bit PWM Fm+ I2C-bus LED controller using my own Raspberry Pi I2C library. This test includes setting up the ...