Forum Discussion

PedroJServian's avatar
PedroJServian
Icon for New Contributor rankNew Contributor
8 months ago
Solved

Doubts about the implementation of I2C in my FPGA

Good morning, I am designing a communication between my FPGA MAX10 and my microcontroller. The FPGA detects some hardware faults from different sources and then it communicates to the microcontrolle...
  • FvM's avatar
    8 months ago
    Hi,
    does your FPGA design an embedded processor (Nios or HPS)? If not, Avalon ST I2C master is most likely not the appropriate solution due the large amount of registers that must serviced by your FPGA code. I'd rather think about importing an open source I2C master design or possibly extracting the controller core from Avalon ST master IP.

    In terms of resource overhead, a SPI like interface (simple shift register) would be usually preferred.