I'm currently stuck here and since the Analog Devices support is unfortunately not good.

IC:  MAX22216 (Quad Smart Serial-Controlled Solenoid and Motor Driver with Advanced Diagnostic)

I want to control two independent DC motors with the IC in the full bridge configuration of the chip ⇾ two individual H-bridges, see image. DC Motor Drive configuration (Datasheet)

So far everything works super fine BUT I cannot reverse the direction of rotation of my DC motor. Regardless of which channel of the H-Bridge is activated, the motor rotates in the same direction (i.e. the output of the H-Bridge remains the same). The Motor is connected like it's shown in the first picture.

Here is what happens:

  • If CNTL0 and CNTL1 are both 'LOW', the H-Bridge status is HiZ, as desired.

  • If CNTL0 and CNTL1 are both 'HIGH', the H-Bridge status is BRAKE (50% PWM on both channels), as desired.

  • If CNTL0 is 'HIGH' and CNTL1 is 'LOW', the motor rotates as desired (OUT0 = HIGH / OUT1 = LOW).

  • The weird thing to me is, when I reverse the CTLx Pins polarity (CTL0 = 'LOW' and CTL1 = 'HIGH) the motor still runs in the same direction.

Am I right in my assumption, that the DC motor should change direction depending on the CTLx channels activated? Any ideas why it's not doing so?

Here is my schematic:


IC configuration (Datasheet)

Edit: I have really tried to dig into it. But after 3 days of trial and error, I don't know what else I could try to make the motor rotate in both directions.

And since it might be interesting for others, here is my configuration:

0x81 0x87 0x6 0x7FFF
0x258 0x2710 0x2710 0x0FFF 0xA
New contributor
Benjo is a new contributor to this site. Take care in asking for clarification, commenting, and answering. Check out our Code of Conduct.
  • 2
    \$\begingroup\$ Take your DC motor and connect it to a DC power supply and note the rotation then, reverse the connections and come back and tell us that the direction also reversed. \$\endgroup\$
    – Andy aka
    Commented Jun 7 at 8:12
  • \$\begingroup\$ That's what I did. I even tried different ICs and different motors. I am really at a loss :( Thanks for the comment. \$\endgroup\$
    – Benjo
    Commented Jun 7 at 8:17
  • 1
    \$\begingroup\$ You didn't say what happened when you reversed the connections. I thought my advice was simple enough to follow. \$\endgroup\$
    – Andy aka
    Commented Jun 7 at 8:19
  • \$\begingroup\$ Yeah damn, sorry. Of course the rotation direction was also reversed. Otherwise I wouldn't be here. \$\endgroup\$
    – Benjo
    Commented Jun 7 at 8:22
  • 1
    \$\begingroup\$ I think you need to show a schematic of what you implemented. \$\endgroup\$
    – Andy aka
    Commented Jun 7 at 9:37


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.