Forum Discussion
Altera_Forum
Honored Contributor
9 years agoGPIO48 from the HPS controls the I2C multiplexer - switching it between the either the FPGA or the HPS.
When this signal is high, the I2C bus is connected to the HPS. When it is low it is connected to the FPGA. See page 26 of the DE1-SoC schematic from the Terasic system CD. The segmentation fault is a bug in your program and nothing to do with this. (Sorry - just noticed the date of your question, but I'll post this anyway :)