Communication over a BiSS-C encoder
interface is primarily achieved by the following components:
- CPU (C28x)
- Configures the device,
CLB and SPI
- Initializes CLB counters
to generate the proper the MA clock frequency and clock counts for the
encoder's resolution
- Packs and unpacks
data
- Calculates the
single-cycle-data CRC and control frame CRC
- Compares calculated CRC
with received CRC
- Configurable logic block (CLB)
- Sends the MA clock and
CDM bit
- Monitors the SPI PICO
signal for the encoder's response. Controls the SPI clock to read the
response
- Measures, and compensates
for, cable propagation delay as required by the interface
- Serial peripheral interface
(SPI)
- Receives the encoder's
response
- Device interconnects (XBARs, CLB
XBARS)
- Routes signals into and
out of the CLB and the device
- External interface block
- TIDM-1010 board with
RS-485 differential line driver
Note: On the F2837xD / F2837xS / F28007
devices the CLB can not override the SPI input signals directly. The TIDM-1010
hardware can route the CLB generated SPI clock back to the peripheral clock input
pin and tie the SPI PDE pin to ground. Refer to the TIDM-1010 schematics for more
information.
The remainder of this section
describes the following aspects of the design:
- The TIDM-1010 hardware
- C2000 MCU resources including the
CLB
- C2000 software used by the
encoder interface