Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Scroll Title
titleSET_INTERRUPT Command Packet Layout.

1) SET_INTERRUPT on MB_I2C_ADDRESS requesting I2C_BYTES

Byte

Value

Description

1

0xB0

SET_INTERRUPT FX2 API command ID

2

0x3F

I2C Address
MB_I2C_ADRESS=0x3F

3

0x0C

Number of bytes to write (max 32)

From 4 to 64

-

Not used

...

Scroll Title
titleFX22MB_REG0_GETVERSION MicroBlaze command.

2) I2C_WRITE with MB_Command FX22MB_REG0_GETVERSION at byte 7

Byte

Value

Description

1

0xAD

I2C_WRITE FX2 API command ID

2

0x3F

I2C Address
MB_I2C_ADRESS=0x3F

3

0x0C
(12)

FX2_Parameters.I2C_BYTES=0x0C
Number of bytes to write (max 32)

4

0x00

-

5

0x00

-

6

0x00

-

7

0x01

MB_Commands.FX22MB_REG0_GETVERSION
It request to the MicroBlaze the return of 4 bytes representing FPGA firmware version

From 8 to 64

-

Not used

...

Scroll Title
titleGET_INTERRUPT Command Packet Layout.

3) GET_INTERRUPT

Byte

Value

Description

1

0xB1

GET_INTERRUPT FX2 API command ID

From 2 to 64

-

Not used

Scroll Title
titleGET_INTERRUPT Reply Packet Layout.

3) Reply packet with desired information

Byte

Description

1, reply[0]

Interrupt number.
If zero means that GET_INTERRUPT has not been able to retry data because the interrupt created by SET_INTERRUPT has not yet been serviced.

2, reply[1]

Interrupt data [0] : Major Version

3, reply[2]

Interrupt data [1] : Minor Version

4, reply[3]

Interrupt data [2] : Release Version

5, reply[4]

Interrupt data [3] : Build Version

From 6 to 64

Not used

...