User Manual
Chapter 8 - BSPS
1QDF10134AAP-SYD-FCC Issue 03
Draft 02
8-15 of 8-16
9) Upon a reception of a header start (0xAC) there will be a start of a reception
window 500mSec long. In case that a valid packet has been received it will be
processed. Otherwise, the controller will initialize the reception counter.
This protocol provides the user with the ability of controlling the power system
parameters as well as retrieving data and status from the system.
8.7.1. Master
The master sends its packet including
header
,
opcode
,
data
,
checksum
and
termination. The 4-byte opcode bit-combination gives the user the ability to
perform one or more functions at the same time.
The 32-byte data to be sent should include relevant data according to the operation,
set as an opcode by the user.
8.7.2. Slave
The slave responds as soon as a valid packet is received including header, received
opcode, received_checksum, id, data, checksum and termination.
The received_opcode is the last received opcode from the master.
The received_checksum is the last received checksum from the master.
The 4-byte id consists of 3 pre-programmed bytes and an additional byte that can be
programmed by the master.
The 32-byte
data
always include all the data/status that the user may request,
meaning that every transaction from the master to the slave will always result with
retrieving all possible data that the slave is able to provide.
NOTE
: The data retrieved in a transaction does not include the changes made by the
host in its command (if any). Another retrieval should take place in order to get the
values that were affected in the previous command.