2014-09-18 08:37 AM
Hello!
I bought 3 Eval-L9942 boards. I connected supply voltage (5V). Enable (connect to 5V) and a step clock (5V. 100Hz). The VS supply is 12V.The motor i have connected does not move. All outputs are at 12V constantly.I have connected a SPI interface (Aardvark) and read out the phase count register (it counts up).Have I missed something? I have no clue why the driver is not working.By the way, is it possible to read out the phase counter or change the motor direction without overwriting the phase counter?best regardsPhilippElectronics Design Engineer #motor-driver #l9942 #eval-l99422014-09-21 11:51 PM
Dear Philipp,
Did you program the registers (see chapter 5) ? Did you program the current profile table (registerS 2÷6)? Check the SPI setting: The SPI peripheral works in mode CPOL = 0 and CPHA = 0. Check chapter 4 and paragraph 6.6 (SPI Timing). Best regards, Marco2014-09-22 06:30 AM
Dear Marco,
as I did understand the datasheet, I dont need to programm Registerns 2-6.The L9942 will run in its initial conditions which are 95mA micro step,When I apply a step clock a small currnent shall run into the motor but instead of that all outputs stay at motor supply voltage.best regards Philipp