Other Parts Discussed in Thread: C2000WARE, SYSCONFIG
Tool/software:
I want to use the SPI communication feature on the 28388D to get an angle from an absolute encoder - RM44SC (11bit version). It works on the SSI communication protocol and with some figuring out I realized the SPI works for this. I followed the guidelines given here - https://e2e.ti.com/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/981032/tms320f28379d-reading-the-angle-from-a-ssi-encoder-using-spi, to generate the clock signal. I am able to generate the clock signal and the sensor responds with the corresponding position data. However, once I enable the read statement, the clock signal stops transmitting anything and gets latched on to a high signal. And this provides no data in the output. Given below is my SPI settings and the dummy word I write to the sensor. Now when I comment out line 335 (check out second screenshot), SPICLK generates the train of clock pulses needed, but when I un-comment it out, the SPICLK just stops and goes to a high value.












