A few example AVSBus frames frames are
listed below:
Example: Set the target voltage for
channel A to 0.80 V
The AVS_MDATA frame 40 00 19 07h
corresponds to:
- Start = 01b (Valid start condition)
- Cmd = 00b (Write and commit)
- Cmd Group = 0b (AVSBus standard commands)
- Cmd Type = 0000b (Vout)
- Select = 0000b (Channel A)
- Data = 0000 0011 0010 0000b (800d = 800 mV)
- AVS_MDATA CRC = 111b (Valid CRC
for the preceeding 29 bits)
The AVS_SDATA frame in response 04 FF
FF FF FFh corresponds to:
- Ack = 00b (Good CRC, valid data)
- Reserved = 0b
- StatusResp = 00100b (AVSBus has control, No status bits, Vdone=0 due to new
voltage command)
- Data = 1111 1111 1111 1111b (fill with 1's for write)
- AVS_SDATA CRC = 111b (Valid CRC
for the preceeding 29 bits)
Example: Read the output current telemetry from channel A
The AVS_MDATA frame 71 07 FF F9h corresponds to:
- Start = 01b (Valid start condition)
- Cmd = 11b (Read)
- Cmd Group = 0b (AVSBus standard commands)
- Cmd Type = 0010b (Vout)
- Select = 0000b (Channel A)
- Data = 1111 1111 1111 1111b (fill with 1's for read)
- AVS_MDATA CRC = 001b (Valid CRC
for the preceeding 29 bits)
The AVS_SDATA frame in response 14 10 86 F8h corresponds to:
- Ack = 00b (Good CRC, valid data)
- Reserved = 0b
- StatusResp = 10100b (Vdone=1, AVSBus has control, No status bits)
- Data = 0001 0000 1000 0110b (4230d = 42.3 A)
- AVS_SDATA CRC = 000b (Valid CRC
for the preceeding 29 bits)