cancel
Showing results for 
Search instead for 
Did you mean: 

Self Identification of c-Spin and d-Spin parts

pfournier
Associate
Posted on May 20, 2013 at 14:56

Is there a way to get the identity of the different SPI communicating devices?

I am writing a piece code that can be used by any of our engineers for the L6482, L6472, L6480 or L6470.  BUT you have to specify which one you are using.  What would be great is at power up, if I could read the part number (or other identifying information) from the part, I could automatically make any necessary firmware adjustments.

Thanks,

-Pete

#motor-control
3 REPLIES 3
Lorenzo1
Associate II
Posted on March 09, 2015 at 09:18

I have the same issue.

At the moment I have two different firmware versions: the first for L6470, the second for L6472.

I see, this is a very old thread, why there is no response to this simple question?

Mikk Leini
Senior
Posted on March 20, 2015 at 10:59

It's not the solution you look for at first place, but you could do some HW version identification with resistors. Use a resistor with different resistances in divider circuit and based on sampled voltage decide what version of HW you have.

Or you could reserve some Flash area for identifier if you're certain to not erase it...
Gigi
Senior
Posted on March 20, 2015 at 17:35

Ciao

https://my.st.com/public/STe2ecommunities/motordriver_ics/Lists/Motor%20Driver%20ICs%20and%20Boards

is dedicated to spin family.

Ciao

Gigi