SPI Communication Problem with L6474PD drive
To validate the drive L6474PD I was reading the status through getStatus command but the drive is responding with FFFF. I am not understanding to validate the drive through SPI.
To validate the drive L6474PD I was reading the status through getStatus command but the drive is responding with FFFF. I am not understanding to validate the drive through SPI.
Hi @Community member,
from your pictures the L6474 is behaving properly.
If you do not configure the proper clock polarity and phase the communication fails.
You must set CPOL = 1 as above mentioned and CPHA = 1 (the IC updates the out on the falling edge and samples on the rising edge).
I attach a picture of SPI timing diagram [from wikipedia]:
Let me know if with the proper setting solves your problem.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.