I'm trying to generate a quadrature signal with a L297 http://www.st.com/content/ccc/resource/technical/document/datasheet/f9/35/6e/3f/48/18/48/51/CD00000063.pdf/files/CD00000063.pdf/jcr:content/translations/en.CD00000063.pdf I use only phase A and C in order to have a 90° offset
Here is my wiring: // L297 -> MCU 2 GND -> GND 4 A -> read out phase A 7 C -> read out phase C 10 ENABLE -> GPIO Pin 1 12 Vs - +5v 11 Control -> GPIO Pin 5 set to high for phases line ABCD 17 CW/CCW -> GPIO Pin 2 set to high or low depeding the direction 18 Clock -> GPIO Pin 3 19 Half/Full -> GPIO Pin 6 set to low for full step 20 RST -> +5v
According to my understanding, when I want the L297 to run, I write a bit on GPIO Pin 1 (HIGH) to enable the L297 For changing direction, I must put Pin 2 High or Low And when I want to send a pulse, I write a bit on Pin 3 /Clock i'm sending pulse to clock but channel A and C stay always low. Do you have any idea of what could go wrong with my wiring ? or with my understanding ?