I'm sorry if my question is not on right platform. It just perhaps if there is any electronic expert here that could help me. For my application i'm using IHM01A1 Board with L6474 stepper motor driver to control my stepper motor that moves a cart on the linear drives. The move will be limited by proximity sensor that activates the interrupt on my board. (I use Arduino MEGA 2560 board, where some modification has been made as the IHM01A1 board were made for Arduino UNO board). I use 45V with 3A for my stepper motor.
As for the coding, I use the code from the github file from Michel_f:
the datasheet of the L6474 driver is here:
Everything was okay with the coding. But as I try to improve the code for my application, I'd accidentally mess up the board, The situation was like this:
-
During setup, the L6474 library will be activated. And the motor will be rotates towards the proximity sensor.
-
Normally after reaching the sensor, interrupt will be activated and then the HardStop() function will be followed. And the motor will be stop. (This code was ok.)
-
But as I play with the code, after the interrupt activates, to stop the motor, I use the Reset() function, which set the reset pin low, instead of the HardStop() function. (Silly but dummy mistake).
-
After that it didn't function anymore. I immediately check the L6474 datasheet. It states that it is not recommended to reset the device when outputs are active. On the power supply display, it didn't show 45V anymore but instead about 1,0 V.
-
After that I uploaded the normally functioned code on my Arduino, the motor won't rotate, and the flag pin stays red. the power supply display still display low voltage (about 1,0 V) eventhough 45V was set.
The question is, is the chip perhaps damaged? Normally if the chip are damaged, it would smell like a smoke or it burns but no smoke were detected during the failure. From the appearance only, the chip looks okay to me.
Thanks in advance!