2021-04-27 01:31 AM
Hello,
I'm actually trying to control a motor thanks to the eval board L9960.
The datasheet is available here : https://www.st.com/resource/en/datasheet/l9960.pdf
I checked all the hardware configuration, i.e. the voltages (VS, VDDIO, etc...), the current... with an oscilloscope.
The motor is runing but only after a SPI communication (a spi frame send) or disabling the DIS pin.
It only runs once with the current well linked to the PWM I provide but the motor stops after 65ms each time, as if there was something wrong with the configuration.
I do the HWSC/LBIST as described in the datasheet
I don't know how to correct this problem and make the motor run continuously with the supplied PWM.
Every time I want to run it I have to send it a spi frame
I suspect that the NDIS1 pin I have configured as a GPIO pull-up, although it is supposed to be an input. However it is the only configuration that makes the engine run.
Has anyone ever controlled an engine with this card?
Could you help me?
Thank you very much in advance
Respectfully
Bastien