Altera_Forum
Honored Contributor
13 years agoAltera SoC: What is "Peripheral FPGA Clocks" for?
Hi everyone,
I want to use the I2C Controller on HPS to control a slave connected to the FPGA. So for my understanding I can use I2C pin multiplexing with option "FPGA" while configuring the HPS System to make the I2C Controller available to the FPGA. After this configuration, the i2c0_clk clock frequency can be modified. But what is this clock for? Or in general what is "Peripheral FPGA Clocks" for? Also I expected only two pins that could be connected to the FPGA, namely SCL and SDA but there are 4 Pins in total that are generated from Qsys: hps_0_i2c0_out_data : out std_logic; -- out_data (is this sda_out?) hps_0_i2c0_sda : in std_logic := 'X'; -- sda hps_0_i2c0_clk_clk : out std_logic; -- clk (peripheral fpga clock??) hps_0_i2c0_scl_in_clk : in std_logic := 'X'; -- clk I attached a screenshot for the configuration. https://www.alteraforum.com/forum/attachment.php?attachmentid=7499 I really appreciate your help! Hanel