![]() |
|
If you can't view the Datasheet, Please click here to try to view without PDF Reader . |
|
Datasheet File OCR Text: |
this is information on a product in full production. june 2012 doc id16737 rev 4 1/70 70 L6470 dspin fully integrated microstepping motor driver with motion engine and spi datasheet ? production data features operating voltage: 8 - 45 v 7.0 a out peak current (3.0 a r.m.s.) low r ds(on) power mosfets programmable speed profile and positioning programmable power mos slew rate up to 1/128 microstepping sensorless stall detection spi interface low quiescent and standby currents programmable non-dissipative overcurrent protection on high and low-side two levels of overtemperature protection application bipolar stepper motors description the L6470, realized in analog mixed signal technology, is an advanced fully integrated solution suitable for driving two-phase bipolar stepper motors with microstepping. it integrates a dual low r ds(on) dmos full bridge with all of the power switches equipped with an accurate on- chip current sensing circuitry suitable for non- dissipative current control and overcurrent protection. thanks to a unique control system, a true 1/128 steps resolution is achieved. the digital control core can generate user defined motion profiles with acceleration, deceleration, speed or target position, easily programmed through a dedicated registers set. all commands and data registers, including those used to set analogue values (i.e. current control value, current protection trip point, deadtime, pwm frequency, etc.) are sent through a standard 5- mbit/s spi. a very rich set of protections (thermal, low bus voltage, overcurrent, motor stall) allows the design of a fully protected application, as required by the most demanding motor control applications. htssop28 powerso36 table 1. device summary order codes package packaging L6470h htssop28 tube L6470htr htssop28 tape and reel L6470pd powerso36 tube L6470pdtr powerso36 tape and reel www.st.com
contents L6470 2/70 doc id16737 rev 4 contents 1 block diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 2 electrical data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 2.1 absolute maximum ratings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 2.2 recommended operating conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 2.3 thermal data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 3 electrical characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 4 pin connection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 4.1 pin list . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 5 typical applications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 6 functional description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 6.1 device power-up . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 6.2 logic i/o . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 6.3 charge pump . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 6.4 microstepping . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22 6.4.1 automatic full-step mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23 6.5 absolute position counter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23 6.6 programmable speed profiles . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23 6.6.1 infinite acceleration/deceleration mode . . . . . . . . . . . . . . . . . . . . . . . . . 24 6.7 motor control commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24 6.7.1 constant speed commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24 6.7.2 positioning commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25 6.7.3 motion commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25 6.7.4 stop commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26 6.7.5 step-clock mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26 6.7.6 gountil and releasesw commands . . . . . . . . . . . . . . . . . . . . . . . . . . . 26 6.8 internal oscillator and oscillator driver . . . . . . . . . . . . . . . . . . . . . . . . . . . 27 6.8.1 internal oscillator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27 6.8.2 external clock source . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27 L6470 contents doc id16737 rev 4 3/70 6.9 overcurrent detection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 6.10 undervoltage lockout (uvlo) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 6.11 thermal warning and thermal shutdown . . . . . . . . . . . . . . . . . . . . . . . . . 29 6.12 reset and standby . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30 6.13 external switch (sw pin) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30 6.14 programmable dmos slew rate, deadtime and blanking time . . . . . . . . . 31 6.15 integrated analog-to-digital converter . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 6.16 internal voltage regulator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 6.17 busy\sync pin . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32 6.17.1 busy operation mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32 6.17.2 sync operation mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32 6.18 flag pin . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33 7 phase current control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34 7.1 pwm sinewave generators . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34 7.2 sensorless stall detection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35 7.3 low speed optimization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35 7.4 bemf compensation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36 7.5 motor supply voltage compensation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36 7.6 winding resistance thermal drift compensation . . . . . . . . . . . . . . . . . . . . 37 8 serial interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38 9 programming manual . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40 9.1 registers and flags description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40 9.1.1 abs_pos . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41 9.1.2 el_pos . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41 9.1.3 mark . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42 9.1.4 speed . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42 9.1.5 acc . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42 9.1.6 dec . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42 9.1.7 max_speed . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43 9.1.8 min_speed . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43 9.1.9 fs_spd . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43 9.1.10 kval_hold, kval_run, kval_acc and kval_dec . . . . . . . . . . . . 44 contents L6470 4/70 doc id16737 rev 4 9.1.11 int_speed . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44 9.1.12 st_slp . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45 9.1.13 fn_slp_acc . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45 9.1.14 fn_slp_dec . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45 9.1.15 k_therm . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45 9.1.16 adc_out . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46 9.1.17 ocd_th . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46 9.1.18 stall_th . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46 9.1.19 step_mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47 9.1.20 alarm_en . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48 9.1.21 config . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49 9.1.22 status . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54 9.2 application commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55 9.2.1 command management . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56 9.2.2 nop . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57 9.2.3 setparam (param, value) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57 9.2.4 getparam (param) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58 9.2.5 run (dir, spd) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58 9.2.6 stepclock (dir) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59 9.2.7 move (dir, n_step) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59 9.2.8 goto (abs_pos) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60 9.2.9 goto_dir (dir, abs_pos) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60 9.2.10 gountil (act, dir, spd) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61 9.2.11 releasesw (act, dir) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61 9.2.12 gohome . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62 9.2.13 gomark . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62 9.2.14 resetpos . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62 9.2.15 resetdevice . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63 9.2.16 softstop . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63 9.2.17 hardstop . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63 9.2.18 softhiz . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63 9.2.19 hardhiz . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64 9.2.20 getstatus . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64 10 package mechanical data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65 11 revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69 L6470 list of tables doc id16737 rev 4 5/70 list of tables table 1. device summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 table 2. absolute maximum ratings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 table 3. recommended operating conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 table 4. thermal data. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 table 5. electrical characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 table 6. pin description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 table 7. typical application values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 table 8. cl values according to external oscillator frequency . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 table 9. registers map. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40 table 10. el_pos register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41 table 11. min_speed register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43 table 12. voltage amplitude regulation registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44 table 13. winding resistance thermal drift compensation coefficient . . . . . . . . . . . . . . . . . . . . . . . . . 45 table 14. adc_out value and motor supply voltage compensation feature . . . . . . . . . . . . . . . . . . 46 table 15. overcurrent detection threshold . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46 table 16. stall detection threshold . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47 table 17. step_mode register. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47 table 18. step mode selection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47 table 19. sync output frequency . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48 table 20. sync signal source . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48 table 21. alarm_en register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49 table 22. config register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49 table 23. oscillator management . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49 table 24. external switch hard stop interrupt mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50 table 25. overcurrent event . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50 table 26. programmable power bridge output slew rate values. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51 table 27. motor supply voltage compensation enable . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51 table 28. pwm frequency: integer division factor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 1 table 29. pwm frequency: multiplication factor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52 table 30. available pwm frequencies [khz]: 8-mhz oscillator frequency . . . . . . . . . . . . . . . . . . . . . 52 table 31. available pwm frequencies [khz]: 16-mhz oscillator frequency . . . . . . . . . . . . . . . . . . . . 52 table 32. available pwm frequencies [khz]: 24-mhz oscillator frequency . . . . . . . . . . . . . . . . . . . . 53 table 33. available pwm frequencies [khz]: 32-mhz oscillator frequency . . . . . . . . . . . . . . . . . . . . 53 table 34. status register. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54 table 35. status register dir bit. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54 table 36. status register mot_state bits . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55 table 37. application commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55 table 38. nop command structure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57 table 39. setparam command structure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57 table 40. getparam command structure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58 table 41. run command structure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58 table 42. stepclock command structure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59 table 43. move command structure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59 table 44. goto command structure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60 table 45. goto_dir command structure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60 table 46. gountil command structure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61 table 47. releasesw command structure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 1 table 48. gohome command structure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62 list of tables L6470 6/70 doc id16737 rev 4 table 49. gomark command structure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62 table 50. resetpos command structure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62 table 51. resetdevice command structure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63 table 52. softstop command structure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63 table 53. hardstop command structure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63 table 54. softhiz command structure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63 table 55. hardhiz command structure. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64 table 56. getstatus command structure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64 table 57. htssop28 mechanical data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65 table 58. powerso36 mechanical data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67 table 59. revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69 L6470 list of figures doc id16737 rev 4 7/70 list of figures figure 1. block diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 figure 2. htssop28 pin connection (top view) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 figure 3. powerso36 pin connection (top view) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 figure 4. bipolar stepper motor control application using L6470 . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 figure 5. charge pump circuitry. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22 figure 6. normal mode and microstepping (128 microsteps) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22 figure 7. automatic full-step switching . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23 figure 8. speed profile in infinite acceleration/deceleration mode . . . . . . . . . . . . . . . . . . . . . . . . . . 24 figure 9. constant speed command examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25 figure 10. positioning command examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25 figure 11. motion command examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26 figure 12. oscin and oscout pin configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 figure 13. external switch connection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 figure 14. internal 3 v linear regulator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32 figure 15. current distortion and compensation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35 figure 16. bemf compensation curve. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36 figure 17. motor supply voltage compensation circuit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37 figure 18. spi timings diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38 figure 19. daisy chain configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39 figure 20. command with 3-byte argument . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56 figure 21. command with 3-byte response . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56 figure 22. command response aborted . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57 figure 23. htssop28 mechanical data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66 figure 24. powerso36 drawings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68 block diagram L6470 8/70 doc id16737 rev 4 1 block diagram figure 1. block diagram am02 3 77v1 3 v volt a ge reg. adc ext. o s c. driver & clock gen. 16mhz o s cill a tor ch a rge p u mp v dd s pi regi s ter s control logic c u rrent dac s & comp a r a tor s temper a t u re s en s ing c u rrent s en s ing s tby/r s t flag c s ck s do s di bu s y/ s ync s w s tck dgnd vdd o s cin o s cout adcin vreg cp vboot agnd pgnd pgnd v s a v s a out1a out2a v s b v s b out1b out2b h s a1 l s a1 h s a2 l s a2 h s b1 l s b1 h s b2 l s b2 h s a1 l s a1 h s a2 l s a2 h s b1 l s b1 h s b2 l s b2 v dd v b oot v b oot v b oot v b oot L6470 electrical data doc id16737 rev 4 9/70 2 electrical data 2.1 absolute maximum ratings table 2. absolute maximum ratings symbol parameter test condition value unit v dd logic interface supply voltage 5.5 v v s motor supply voltage v sa = v sb = v s 48 v v gnd, diff differential voltage between agnd, pgnd and dgnd 0.3 v v boot bootstrap peak voltage 55 v v reg internal voltage regulator output pin and logic supply voltage 3.6 v v adcin integrated adc input voltage range (adcin pin) -0.3 to +3.6 v v osc oscin and oscout pin voltage range -0.3 to +3.6 v v out_diff differential voltage between v sa , out1 a , out2 a , pgnd and v sb , out1 b , out2 b , pgnd pins v sa = v sb = v s 48 v v logic logic inputs voltage range -0.3 to +5.5 v i out (1) r.m.s. output current 3 a i out_peak (1) pulsed output current t pulse < 1 ms 7 a t op operating junction temperature 150 c t s storage temperature range -55 to 150 c p tot total power dissipation (t a = 25 oc) (2) 5w 1. maximum output current limit is related to metal connection and bonding characteristics. actual limit must satisfy maximum thermal dissipation constraints. 2. htssop28 mounted on evaL6470h. electrical data L6470 10/70 doc id16737 rev 4 2.2 recommended operating conditions 2.3 thermal data table 3. recommended operating conditions symbol parameter test condition value unit v dd logic interface supply voltage 3.3 v logic outputs 3.3 v 5 v logic outputs 5 v s motor supply voltage v sa = v sb = v s 845v v out_diff differential voltage between v sa , out1 a , out2 a , pgnd and v sb , out1 b , out2 b , pgnd pins v sa = v sb = v s 45 v v reg,in logic supply voltage v reg voltage imposed by external source 3.2 3.3 v v adc integrated adc input voltage (adcin pin) 0v reg v t j operating junction temperature - 25 125 c table 4. thermal data symbol parameter package typ. unit r thja thermal resistance junction-ambient htssop28 (1) 1. htssop28 mounted on evaL6470h rev 1.0 board: four-layer fr4 pcb with a dissipating copper surface of about 40 cm 2 on each layer and 15 via holes below the ic. 22 c/w powerso36 (2) 2. powerso36 mounted on evaL6470pd rev 1.0 board: four-layer fr4 pcb with a dissipating copper surface of about 40 cm 2 on each layer and 22 via holes below the ic. 12 L6470 electrical characteristics doc id16737 rev 4 11/70 3 electrical characteristics v sa = v sb = 36 v; v dd = 3.3 v; internal 3 v regulator; t j = 25 c, unless otherwise specified. table 5. electrical characteristics symbol parameter test condition min. typ. max. unit general v sthon v s uvlo turn-on threshold 7.5 8.2 8.9 v v sthoff v s uvlo turn-off threshold 6.6 7.2 7.8 v v sthhyst v s uvlo threshold hysteresis 0.7 1 1.3 v i q quiescent motor supply current internal oscillator selected; vreg = 3.3 v ext; cp floating 0.5 0.65 ma t j(wrn) thermal warning temperature 130 c t j(sd) thermal shutdown temperature 160 c charge pump v pump voltage swing for charge pump oscillator 10 v f pump,min minimum charge pump oscillator frequency (1) 660 khz f pump,max maximum charge pump oscillator frequency (1) 800 khz i boot average boot current f sw,a = f sw,b = 15.6 khz pow_sr = '10' 1.1 1.4 ma output dmos transistor r ds(on) high-side switch on-resistance t j = 25 c, i out = 3 a 0.37 ? t j = 125 c, (2) i out = 3 a 0.51 r ds(on) low-side switch on-resistance t j = 25 c, i out = 3 a 0.18 t j = 125 c, (2) i out = 3 a 0.23 i dss leakage current out = v s 3.1 ma out = gnd -0.3 t r rise time (3) pow_sr = '00', i out = +1 a 100 ns pow_sr = '00', i out = -1 a 80 pow_sr = '11', i out = 1 a 100 pow_sr = '10', i lout = 1 a 200 pow_sr = '01', i out = 1 a 300 electrical characteristics L6470 12/70 doc id16737 rev 4 t f fall time (3) pow_sr = '00'; i out = +1 a 90 ns pow_sr = '00'; i out = -1 a 110 pow_sr = '11', i out = 1 a 110 pow_sr = '10', i out = 1 a 260 pow_sr = '01', i load = 1 a 375 sr out_r output rising slew rate pow_sr = '00', i out = +1 a 285 v/s pow_sr = '00', i out = -1 a 360 pow_sr = '11', i out = 1 a 285 pow_sr = '10', i out = 1 a 150 pow_sr = '01', i out = 1 a 95 sr out_f output falling slew rate pow_sr = '00', i out = +1 a 320 v/s pow_sr = '00', i out = -1 a 260 pow_sr = '11', i out = 1 a 260 pow_sr = '10', i out = 1 a 110 pow_sr = '01', i out = 1 a 75 deadtime and blanking t dt deadtime (1) pow_sr = '00' 250 ns pow_sr = '11', f osc = 16 mhz 375 pow_sr = '10', f osc = 16 mhz 625 pow_sr = '01', f osc = 16 mhz 875 t blank blanking time (1) pow_sr = '00' 250 ns pow_sr = '11', f osc = 16 mhz 375 pow_sr = '10', f osc = 16 mhz 625 pow_sr = '01', f osc = 16 mhz 875 source-drain diodes v sd,hs high-side diode forward on voltage i out = 1 a 1 1.1 v v sd,ls low-side diode forward on voltage i out = 1 a 1 1.1 v t rrhs high-side diode reverse recovery time i out = 1 a 30 ns t rrls low-side diode reverse recovery time i out = 1 a 100 ns table 5. electrical characteristics (continued) symbol parameter test condition min. typ. max. unit L6470 electrical characteristics doc id16737 rev 4 13/70 logic inputs and outputs v il low logic level input voltage 0.8 v v ih high logic level input voltage 2 v i ih high logic level input current (4) v in = 5 v 1 a i il low logic level input current (5) v in = 0 v -1 a v ol low logic level output voltage (6) v dd = 3.3 v, i ol = 4 ma 0.3 v v dd = 5 v, i ol = 4 ma 0.3 v oh high logic level output voltage v dd = 3.3 v, i oh = 4 ma 2.4 v v dd = 5 v, i oh = 4 ma 4.7 r pu r pd cs pull-up and stby pull-down resistors cs = gnd; stby/rst = 5 v 335 430 565 k ? i logic internal logic supply current 3.3 v v reg externally supplied, internal oscillator 3.7 4.3 ma i logic,stby standby mode internal logic supply current 3.3 v v reg externally supplied 22.5a f stck step-clock input frequency 2 mhz internal oscillator and external oscillator driver f osc,i internal oscillator frequency t j = 25 c, v reg = 3.3 v -3% 16 +3% mhz f osc,e programmable external oscillator frequency 8 32 mhz v oscouth oscout clock source high level voltage internal oscillator 3.3 v v reg externally supplied; i oscout = 4 ma 2.4 v v oscoutl oscout clock source low level voltage internal oscillator 3.3 v v reg externally supplied; i oscout = 4 ma 0.3 v t roscout t foscout oscout clock source rise and fall time internal oscillator 20 ns t extosc internal to external oscillator switching delay 3 ms t intosc external to internal oscillator switching delay 1.5 s spi f ck,max maximum spi clock frequency (7) 5mhz t rck t fck spi clock rise and fall time (7) c l = 30 pf 25 ns t hck t lck spi clock high and low time (7) 75 ns t setcs chip select setup time (7) 350 ns table 5. electrical characteristics (continued) symbol parameter test condition min. typ. max. unit electrical characteristics L6470 14/70 doc id16737 rev 4 t holcs chip select hold time (7) 10 ns t discs deselect time (7) 800 ns t setsdi data input setup time (7) 25 ns t holsdi data input hold time (7) 20 ns t ensdo data output enable time (7) 38 ns t dissdo data output disable time (7) 47 ns t vsdo data output valid time (7) 57 ns t holsdo data output hold time (7) 37 ns switch input (sw) r pusw sw input pull-up resistance sw = gnd 60 85 110 k ? pwm modulators f pwm programmable pwm frequency (1) f osc = 16 mhz 2.8 62.5 khz f osc = 32 mhz 5.6 125 n pwm pwm resolution 8 bit stall detection i stall,max maximum programmable stall threshold stall_th = '1111111' 4 a i stall,min minimum programmable stall threshold stall_th = '0000000' 31.2 5 ma i stall,res programmable stall threshold resolution 31.2 5 ma overcurrent protection i ocd,max maximum programmable overcurrent detection threshold ocd_th = '1111' 6 a i ocd,min minimum programmable overcurrent detection threshold ocd_th = '0000' 0.37 5 a i ocd,res programmable overcurrent detection threshold resolution 0.37 5 a t ocd,flag ocd to flag signal delay time di out /dt = 350 a/s 650 1000 ns t ocd,sd ocd to shutdown delay time di out /dt = 350 a/s pow_sr = '10' 600 ns standby i qstby quiescent motor supply current in standby conditions v s = 8 v 26 34 a v s = 36 v 30 36 t stby,min minimum standby time 10 s t logicwu logic power-on and wake-up time 38 45 s table 5. electrical characteristics (continued) symbol parameter test condition min. typ. max. unit L6470 electrical characteristics doc id16737 rev 4 15/70 t cpwu charge pump power-on and wake-up time power bridges disabled, c p = 10 nf, c boot = 220 nf 650 s internal voltage regulator v reg voltage regulator output voltage 2.9 3 3.2 v i reg voltage regulator output current 40 ma v reg, drop voltage regulator output voltage drop i reg = 40 ma 50 mv i reg,stby voltage regulator standby output current 10 ma integrated analog-to-digital converter n adc analog-to-digital converter resolution 5 bit v adc,ref analog-to-digital converter reference voltage v re g v f s analog-to-digital converter sampling frequency f pwm khz 1. accuracy depends on oscillator frequency accuracy. 2. tested at 25 c in a restricted range and guaranteed by characterization. 3. rise and fall time depends on motor supply voltage value. refer to sr out values in order to evaluate the actual rise and fall time. 4. not valid for stby/rst pin which has internal pull-down resistor. 5. not valid for sw and cs pins which have internal pull-up resistors. 6. flag , busy and sync open drain outputs included. 7. see figure 18 ? spi timings diagram for details. table 5. electrical characteristics (continued) symbol parameter test condition min. typ. max. unit pin connection L6470 16/70 doc id16737 rev 4 4 pin connection figure 2. htssop28 pin connection (top view) figure 3. powerso36 pin connection (top view) / 5 4 ! / 5 4 ! 6 3 ! 3 4 " 9 < |