The BiSS-C system solution is a
communications-only demonstration. The demo sends a MA signal to the encoder,
receives the response, and checks for errors. This pattern is repeated in a
while(1){} loop. In addition, the demo periodically sends a read/write access to an
encoder register. As provided, the bank select register is used. While running the
demo, you can monitor output signals of the MCU with a logic analyzer or scope
(Figure 3-7) while manually turning the motor, or encoder's shaft.
Note: Only the F2837xD requires an
external connection between the CLB and the SPI clock. Other devices have an
internal connection between the CLB and the SPICLK. For devices with an internal
connection, the SPICLK can also be brought out to a pin for monitoring. The test
connection for SPI CLK is shown in the device input/output diagrams in
Section 2.3.4.1.
The waveform shown in Figure 3-7 is:
- For an encoder with 32 position
bits
- 10-m cable with 10 MHz MA
signal
- The SPI clock was brought out to
a pin for monitoring
- The SPI FIFO is configured for a
12-bit word with an interrupt when level 4 is full
- 48 clocks required to assert an
interrupt
- Captured by a logic analyzer with
a sampling frequency of 100 MHz