Communicating Register Write

To summarize the following sections, use the following steps and the Write Register Code Example.

  1. Configure BiSS PPS
  2. Configure SCD frequency and getsense frequency.
  3. Select the client location, the protocol used on the channel and determine if the client device is a sensor or an actuator.
  4. Configure the SCD length.
  5. Configure the CRC used and the CRC length.
  6. Select a start address to write registers from and select how many consecutive bits are desired to be written.
  7. Set the read or write bit to write. Set the CTS bit to register communication and the Prototype Select bit to BiSS C.
  8. Set the client ID.
  9. Set TX Read Enable bit to allow writing to the B1SCDATAxX registers.
  10. Turn the BiSS module on.
  11. Initialize the BiSS module with INIT and poll INSTRWA (can read B1SCDATAxX right now if line delay compensation is desired).
  12. Set the AGS bit to start Autogetsense.
  13. Set B1RDATAxX to the desired value to be written to the client register.
  14. Poll CDMTO to confirm 14 CDM low bits have been received.
  15. Set the Instruction register to the instruction for writing and poll the INSTRWA Status bit to make sure nothing is written to INSTR while current instruction is in progress.
  16. Poll end of transmission, EOT, Status bit and/or CRC Valid bit and/or Register End bit, REGEND, to confirm a successful SCD receive and a successful register communication has been transmitted.
  17. Read value from B1SCDATAxX and B1RDATAx.