FX22MB_REG0_STOP = 0x04

This command stops both the test started by FX22MB_REG0_START_TX (0x02, read test) and FX22MB_REG0_START_RX (0x03, write test).

This MicroBlaze command does not require the use of USB FX2 FW APIs SET_INTERRUPT before and GET_INTERRUPT after. It is instead required to send this command after the data transmission (form the USB FX2 to the host computer or from the host computer to the USB FX2) is ended. See FX22MB_REG0_START_TX and  FX22MB_REG0_START_RX for more information.
This command writes data (12 bytes) to the requested I2C address.

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

0x04

MB_Commands.FX22MB_REG0_STOP
Stop both the test started by FX22MB_REG0_START_TX (0x02, read test) and FX22MB_REG0_START_RX (0x03, write test)

From 8 to 64

-

Not used

FX22MB_REG0_STOP MicroBlaze command.

Reply packet doesn't contain any usable information.

  • No labels