Skip to main content
wil
Visitor II
November 9, 2014
Question

Controlling L6470 Using SPI

  • November 9, 2014
  • 1 reply
  • 483 views
Posted on November 09, 2014 at 21:23

Hello, I'm having a lot of trouble trying to simply talk to the L6470 using SPI. When I send any byte whether it be a valid command or not, the L6470 simply sends the command back on the next SPI transfer. How is this possible?

I've checked the 3.3V reg (not used in my design) and it outputs correct voltage, though the OSCOUT (not used) pin has an odd clock signal on it. The OSCOUT signal is oscillating, but it is high for most of each clock period and dips low briefly before rising back to high again.

#l6470
This topic has been closed for replies.

1 reply

Enrico Poli
ST Employee
November 17, 2014
Posted on November 17, 2014 at 10:49

Please, check if the CS of the SPI is forced high after each byte transmission.

The behavior you describe occurs when the CS is kept low during communication.

Regards

Enrico