Epics@GSI Webhome

HadCon Multipurpose Controls Protocol Cmnd I2 C


Command description of the API command I2C for HadCon2 .

With the help of the I2C command, we could configure, write and read all I2C peripheria.


Fig. 1 Example, how it looks one I2C address


I2C cmnd


I2C <0|1> <I2C address> <data length> <byte1 ... byte8>*


: used to execute write or read operation. This is the Least Significant Bit (LSB) from the I2C address byte.

<I2C address> : Here has to be writon the hexadecimal value on the address byte, which is shifted to right with one bit. The reason for the right shift is because, the lsb bit ist already used in the first ield, where the working operation is choosen.

<data length> : data length

<byte1 ... byte8> : data

Example command:

send: I2C O 70 1 08

receive: RECV I2C 0 70 01 08 -OK-

-- PeterZumbruch - 28 Sep 2015

-- MartinMitkov - 2015-09-29
Topic attachments
I Attachment Action Size Date Who Comment
i2c-address.pngpng i2c-address.png manage 4.1 K 2015-09-29 - 07:28 MartinMitkov  
Edit | Attach | Print version |  PDF | History: r3 < r2 < r1 | Backlinks | View wiki text | Edit WikiText | More topic actions...
Topic revision: r2 - 2015-09-29, MartinMitkov
This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding GSI Wiki? Send feedback
Imprint (in German)
Privacy Policy (in German)