I2C and SPI on EZ-USB (AN21xx/FX/FX1/FX2/FX2LP)

Question: I need a USB device with I2C and SPI interface.How can I configure EZ-USB (AN21xx/FX/FX1/FX2/FX2LP) to achieve this?

 

Answer:

The EZ-USB (AN21xx/FX/FX1/FX2/FX2LP) has an I²C compatible controller. The firmware frameworks provided by us has function calls to aid in writing firmware. Please look at Vend_ax example and dev_io example to understand how these function calls can be used. EZ-USB does not have native SPI controller.But it is possible to implement SPI in firmware