Other Parts Discussed in Thread: TPS274C65
Tool/software:
We have written code that drives to enable and disable channels and turn on/off Led 1_4 and 5_8 on AM243xEVM platform over SPI that does not work.
We first developed the code on Arduino Uno R4 just to quickly verify the hardware connection and setup and explore the features of the TPS274C65 EVM-USB board. That works fine. We can turn on/off the channels, See That proper current drives the channels, turn on/off LEDs, and configure the current. We can read back the registers.
However, the same code doesn't work on AM243xEVM. Of course, the SPI driver is different—on AM243xEVM, we are using TI's SPI driver. To confirm if our driver works, we have connected the SPI motor driver chip to AM243xEVM on the same bus and even with the same CS, clock frequency, and other settings. We can drive the with the third-party SPI motor driver. However, TPS274 does not do anything.
We are currently using a 2MHz clock frequency over SPI. We have checked and reviewed the setup and implementation. The same setup works with Arduino but not AM243. We are looking for anything or ideas to debug.