Hi there!
I need to use this SPI Programmable 10 A H-Bridge for one of my project. I read the datasheet and i understand how control the velocity and direction with physical input , but i'm soo confiuse with SPI i read VIN1 and VIN2 are equal at IN1 and IN2 but i don't understand how i can send a PWM value with SPI.
I hope someone can help me
Thank you
Sergio
Thank you soo much
Sergio
Yes, you are correct!
Hello!
Thanks for your replace and sorry if i answert only now but i wasen't home. Ok if i understa in SPI mode i decide in which way i want my motor turn and on th pin i send my pwm signal like i decided my motor turn in CW i in SPI i set at one VIN2 and i send muy PWM on ING1 right ? because from datasheet is not too much clear
Thank you
Through the SPI interface, the microcontroller can digitally configure and control the device. Some of the key parameters that can be set via SPI include:
But SPI is not used to transmit PWM signals.
The PWM signal must be generated by the microcontroller and physically connected to one of the device’s input pins. SPI only determines which input pin will be used for PWM control, but does not carry the PWM signal itself.
Hope this helps!