Other Parts Discussed in Thread: MSP430G2553
Tool/software:
Hello all,
I plan to use the DRV8245-Q1 in SPI(S) mode and PH/EN mode. I wanted to test it with a most simple configuration. I build a PoC on breadboard, but with no succes.
The motor is not moving:
VM -> 12V
nSLEEP -> 3,3V Logic HIGH
DRVOFF -> GND
with a STM32 Microcontroller i wanted to configurate the DRV8245-Q1 via SPI and put the PH/EN2 on LOW and EN/IN1 on HIGH. The HIGH and LOW levels are checked by me with a multimeter.
First of all, is this way correct?
I have read that i should configurate the Register CONFIG3. How could I do this with SPI?
I should overwrite the S_mode Bits. Are there any example codes for overwriting these registers. Which registers are also necessary for basic configuration.
thanks in advance for any help