In BiSS-C communication, the
controller can send a control frame over the MA line without interrupting the
position-data communication. This is accomplished by sending one bit of the control
frame within each BiSS frame.
As described in Section 2.3.1, the controller
sends one data bit, known as CDM, per BiSS frame. Likewise, the encoder responds to
these CDM bits with one-bit of the response, known as CDS, per BiSS frame. This is
repeated until a complete control frame is sent, and response received, over several
BiSS frames.
The BiSS-C control frame has two
types:
- Register communication frame: a
read or write of an internal register within the encoder
- A command frame: sends a command
to the encoder
Note: As provided, TIDM-1010 does not implement the command frame. This feature can be
added to the design if required by the system developer. In the command frame, the
control select bit (CTS) is zero (CTS = 0). Using the command frame to support a
multipoint connection is beyond the scope of this design. Therefore, this document
focuses on the register communication frame only.
The following steps describe a read or write access. Refer to Figure 2-5 and Figure 2-6.
- The controller sends at least 14 BiSS-C frames with CDM = 0
- CDM = 1 indicates the start bit,
S, of a control frame.
- The next CDM bit is referred to
as CTS (control select bit). For a register access CTS is 1.
- The controller then sends a 3-bit
ID to identify the slave being accessed.
- The ID is followed by a 7 bit
register address and a CRC.
- The next 3 bits are a read bit
(R), a write bit (W) and a start bit (S). R W S are defined as follows:
- Write access: RWS equals
011b
- Read access: RWS equals
101b
- The controller either:
- Holds the CDM bit low for
a read access
- Sends the 8-bit data +
CRC to be written for a write access
- A stop bit (P) indicates the end of the control frame.
Note: In step 6, the protocol allows the
encoder to request additional processing time for the read or write. This is done by
responding with S = 0 (instead of S = 1 as shown). This is not supported by the
current implementation but can be added by the developer with updates to the CD
state machine C code. This extra time is not required by all encoders. Refer to the
specifications for your particular encoder.
Note: The BiSS protocol allows for
back-to-back reads, or back-to-back writes, of consecutive registers. This is
enabled when the controller sends a stop bit (P = 1) immediately followed by another
start bit (S = 1). This feature is not implemented in TIDM-1010. Only a single read,
or single write, per control frame is supported.