Intel FPGA Avalon I2C (Host) Core
Does anyone have an example or tutorial on how to use this core on an SoC? I have had success with the Cyclone V using other cores and writing to their registers from the HPS via the Avalon mm to successfully control and operate them. Other than the TFR_CMD register, registers do not retain their value when written to. The register memory maps and their offsets are very clear in the data sheet and I have checked multiple times that I am writing to the correct ones. Any thoughts or areas to check? This has been a pain to figure out. I'm beginning to wonder if I should take the long route and write my own core at this point. Also, as a side thought, is it possible to use the HAL files on the HPS instead of the NIOS II processor? Seems like it would make things much easier. Thank you!
The register addresses in the datasheet actually need to be multiplied by four. Everything is working just fine now.