Specifications
Installation and Operation Manual Chapter 4 API Reference
MiRIC-E1, MiRIC-T1 Ver. 1.5 Management Procedure 4-3
Length: written into address 0x83 is the number of bytes the parameter comprises.
Currently only one byte is allowed.
Parameter: written into address 0x84. The parameter length must be exactly as
defined in the Length field. Currently only one byte is allowed.
Once the full message is stored, the MiRIC reads the message and responds with
the respective read or write operation.
4.4 Management Procedure
The host is the defined as the master and the MiRIC is the slave, only the host can
initiate the management communication procedure.
The host accesses addresses 0x80–0x9E, in the same way that it accesses SFP
identification addresses (0x00–0x5F).
I
2
C messages from the host are composed from read and write messages. In a read
command, the read parameters (Index, R/W, and Length) are stored at addresses
0x80-0x83, following these parameters MiRIC gets the required data byte and
stores it in address 0x84. The complete message is then delivered via the I
2
C to the
host.
Read Message
I
2
C encapsulation structure
1. I
2
C Control and Write bits in the first byte.
2. Next byte contains 0x80 (as the first address).
3. Next byte with the First byte of the Index (MSB).
4. Next byte with the Second byte of the Index (LSB).
5. Next byte contains 0x01 for a read operation.
6. Byte contains 0x01 for the Length.
7. MiRIC gets the required data byte and stores in address 0x84.
To read the required byte, the host sends a new I2C message with the following
structure:
8. I
2
C control bits and read bit in the first byte.
9. Next byte contains 0x84 (the address that the parameter is read from).
10. The content of address 0x84 is then delivered to the host equipment.
In event two or more bytes are to be read, two I
2
C messages are required, to read
addresses 0x84, 0x85 etc.
Note