Communicating Register Read
To summarize the following sections, use the following steps and the Read Register Code Example.
- Configure BiSS PPS.
- Configure the SCD frequency and getsense frequency.
- Select the client location, the protocol used on the channel and determine if the client device is a sensor or an actuator.
- Configure the SCD length.
- Configure the CRC used and the CRC length.
- Select a start address to read registers from and select how many consecutive bits are desired to be read.
- Set the read or write bit to read.
- Set the CTS bit to register communication and the Prototype Select bit to BiSS C.
- Set the client ID.
- Turn the module on.
- Initialize the BiSS module and poll INSTRWA (can read B1SCDATAxX now if line delay compensation is desired).
- Set AGS to start AutoGetsense.
- Poll CDMTO to confirm 14 CDM low bits have been received.
- Set the instruction register to the instruction for reading and poll the INSTRWA bit to make sure nothing is written to INSTR while the current instruction is in progress.
- Poll the End of Transmission Status bit and/or CRC Valid bit and/or Register End bit, REGEND, to confirm that a successful SCD receive and a successful register communication are received.
- Read values from B1SCDATAxX and B1RDATAx.
