Forum Discussion
3 Replies
- Altera_Forum
Honored Contributor
I2C connected to what? What device on I2C are you trying to write to?
- Altera_Forum
Honored Contributor
The I2C master is an iMX6 and the I2C slave is Max10. The idea would be to use the iMX6 to change hex file values in the Max10.
- Altera_Forum
Honored Contributor
This is still very ill defined. What does "change hex file values in the Max10" mean? The MAX10 is an FPGA, there are no "files" in it.
Certainly you could implement a pseudo-EEPROM type device with an I2C access protocol within your MAX10 FPGA. Then connect this externally to the iMX6 and perform I2C reads and writes of 'hex' (really I think you mean binary bytes) data to that EEPROM pseudo-device in the MAX10. Internally to the MAX10 the data would be stored in a block RAM (or registers even) depending on the emulated EEPROM size. Other logic within the MAX10 could access this data as is required. But I am just extrapolating that this is what you want to do.