IPMC Module - FPGA Integration
It would be nicw to test communication beteenw the uProcessor on the IPMC module and the FPGA using the I2C interface. Namelly the FPGA could read the Board physical slot and some temperatures. The present address of the slave core is 0x3c (7 bit) The I2C slave protocol is described bellow
Perform device address matching
//// Handle arbitrary length I2C reads terminated by NAK
//// from host, and arbitrary length I2C writes terminated
//// by STOP from host
//// The first byte of a I2C is always Address
//// The second byte of a I2C write is always interpreted
//// as a register address, and becomes the base register address
//// for all read and write transactions.
//// I2C WRITE: devAddr, regAddr, data[regAddr], data[regAddr+1], ..... data[regAddr+N]
//// I2C READ: data[regAddr], data[regAddr+1], ..... data[regAddr+N]