Skip to content
Snippets Groups Projects
Commit 08089d3d authored by Kenneth Hiemstra's avatar Kenneth Hiemstra
Browse files

address corrections

parent 8008ef14
No related branches found
No related tags found
No related merge requests found
......@@ -36,21 +36,21 @@ PACKAGE i2c_dev_unb2_pkg IS
CONSTANT I2C_UNB2_SENS_TEMP_MAX1617_ADR : NATURAL := MAX1617_ADR_MID_LOW; -- temperature sensor, slave address is 0x29
CONSTANT I2C_UNB2_SENS_DCDC_BMR456_ADR : NATURAL := 16#2C#; -- dc/dc converter, slave address is 0x2c
CONSTANT I2C_UNB2_SENS_PIM_PIM4328PD_ADR : NATURAL := 16#2b#; -- power input module, slave address is 0x2b
CONSTANT I2C_UNB2_SENS_1V2_BMR461_ADR : NATURAL := 16#0f#; -- 1.2V power supply, slave address is 0x0f
CONSTANT I2C_UNB2_SENS_3V3_BMR461_ADR : NATURAL := 16#0e#; -- 3.3V power supply, slave address is 0x0e
CONSTANT I2C_UNB2_SENS_CLK_BMR461_ADR : NATURAL := 16#0d#; -- clock power supply, slave address is 0x0d
CONSTANT I2C_UNB2_SENS_QSFP0_BMR464_ADR : NATURAL := 16#02#; -- qsfp0 power supply, slave address is 0x02
CONSTANT I2C_UNB2_SENS_QSFP1_BMR464_ADR : NATURAL := 16#01#; -- qsfp1 power supply, slave address is 0x01
CONSTANT I2C_UNB2_SENS_EEPROM_CAT24C02_ADR : NATURAL := 16#a0#; -- eeprom , slave address is 0xa0
CONSTANT I2C_UNB2_SENS_TEMP_TMP451_ADR : NATURAL := 16#ac#; -- temperature sensor, slave address is 0x4c
CONSTANT I2C_UNB2_SENS_1V2_BMR461_ADR : NATURAL := 16#0f#; -- 1.2V power supply, slave address is 0x0f (CHECKED OK: ONLY on FN2)
CONSTANT I2C_UNB2_SENS_3V3_BMR461_ADR : NATURAL := 16#0e#; -- 3.3V power supply, slave address is 0x0e (CHECKED OK: ONLY on FN2)
CONSTANT I2C_UNB2_SENS_CLK_BMR461_ADR : NATURAL := 16#0d#; -- clock power supply, slave address is 0x0d (CHECKED OK: ONLY on FN2)
CONSTANT I2C_UNB2_SENS_QSFP0_BMR464_ADR : NATURAL := 16#01#; -- qsfp0 power supply, slave address is 0x01 (CHECKED OK: ONLY on FN2)
CONSTANT I2C_UNB2_SENS_QSFP1_BMR464_ADR : NATURAL := 16#02#; -- qsfp1 power supply, slave address is 0x02 (CHECKED OK: ONLY on FN2)
CONSTANT I2C_UNB2_SENS_EEPROM_CAT24C02_ADR : NATURAL := 16#50#; -- eeprom , slave address is 0x50 (CHECKED OK: on all nodes)
CONSTANT I2C_UNB2_SENS_TEMP_TMP451_ADR : NATURAL := 16#4c#; -- temperature sensor, slave address is 0x4c (CHECKED OK: ONLY on FN2)
-- I2C slave addresses of the devices on the I2C pm bus on UniBoard2
CONSTANT I2C_UNB2_PMB_CORE_BMR464_ADR : NATURAL := 16#01#; -- core supply, slave address is 0x01
CONSTANT I2C_UNB2_PMB_VCCRAM_BMR461_ADR : NATURAL := 16#0d#; -- vcc ram supply, slave address is 0x0d
CONSTANT I2C_UNB2_PMB_TCVR0_BMR461_ADR : NATURAL := 16#0e#; -- transceiver0 supply, slave address is 0x0e
CONSTANT I2C_UNB2_PMB_TCVR1_BMR461_ADR : NATURAL := 16#0f#; -- transceiver1 supply, slave address is 0x0f
CONSTANT I2C_UNB2_PMB_CTRL_BMR461_ADR : NATURAL := 16#10#; -- control supply, slave address is 0x10
CONSTANT I2C_UNB2_PMB_FPGAIO_BMR461_ADR : NATURAL := 16#11#; -- fpga io supply, slave address is 0x11
CONSTANT I2C_UNB2_PMB_CORE_BMR464_ADR : NATURAL := 16#01#; -- core supply, slave address is 0x01 (CHECKED OK)
CONSTANT I2C_UNB2_PMB_VCCRAM_BMR461_ADR : NATURAL := 16#0d#; -- vcc ram supply, slave address is 0x0d (CHECKED OK)
CONSTANT I2C_UNB2_PMB_TCVR0_BMR461_ADR : NATURAL := 16#0e#; -- transceiver0 supply, slave address is 0x0e (CHECKED OK)
CONSTANT I2C_UNB2_PMB_TCVR1_BMR461_ADR : NATURAL := 16#0f#; -- transceiver1 supply, slave address is 0x0f (CHECKED OK)
CONSTANT I2C_UNB2_PMB_CTRL_BMR461_ADR : NATURAL := 16#10#; -- control supply, slave address is 0x10 (CHECKED OK)
CONSTANT I2C_UNB2_PMB_FPGAIO_BMR461_ADR : NATURAL := 16#11#; -- fpga io supply, slave address is 0x11 (CHECKED OK)
-- I2C slave addresses of the devices on the I2C ddr4 memory bus on UniBoard2
CONSTANT I2C_UNB2_MB_I_DDR4_ADR : NATURAL := 16#18#; -- ddr4 module I, slave address is 0x18
......@@ -60,11 +60,12 @@ PACKAGE i2c_dev_unb2_pkg IS
-- commands
-- these can later go into device specific packages
CONSTANT PMBUS_REG_READ_VOUT_MODE : NATURAL := 16#20#; -- common to all PMB devices (CHECKED OK)
CONSTANT PMBUS_REG_READ_VIN : NATURAL := 16#88#; -- common to all PMB devices
CONSTANT PMBUS_REG_READ_VCAP : NATURAL := 16#8a#; -- used in the PIM4328PD
CONSTANT PMBUS_REG_READ_VOUT : NATURAL := 16#8b#; -- common to all PMB devices
CONSTANT PMBUS_REG_READ_IOUT : NATURAL := 16#8c#; -- common to all PMB devices
CONSTANT PMBUS_REG_READ_TEmP : NATURAL := 16#8d#; -- common to all PMB devices
CONSTANT PMBUS_REG_READ_VOUT : NATURAL := 16#8b#; -- common to all PMB devices (CHECKED OK)
CONSTANT PMBUS_REG_READ_IOUT : NATURAL := 16#8c#; -- common to all PMB devices (CHECKED OK)
CONSTANT PMBUS_REG_READ_TEMP : NATURAL := 16#8d#; -- common to all PMB devices (CHECKED OK)
CONSTANT c_i2c_unb2_nof_protocol_lists : NATURAL := 4; -- for now we allow four protocol lists for each i2c interface
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment