It probably makes more sense for the PIC to do something like a SPI device or something?
Questions:
Which pins to use to talk to the PIC? The SPI lines are connected to the PIC and the SPI flash but the SPI flash will only respond when the chip select line is low.
Can any of the PROG/INIT_B/DONE pins be repurposed?
It would be good to enable the FPGA to interact with the PIC to do things like read the analog values.
On the TOFE LowSpeedIO board I did this through the PIC appearing as a I2C EEPROM via the code here -> https://github.com/timvideos/HDMI2USB-TOFE-LowSpeedIO/blob/firmware/firmware/virtual-i2c-eeprom.c#L416-L483 and https://github.com/timvideos/HDMI2USB-TOFE-LowSpeedIO/blob/firmware/firmware/virtual-i2c-eeprom.c#L84-L278
It probably makes more sense for the PIC to do something like a SPI device or something?
Questions: