MC33926 Motor Driver for Raspberry Pi cause SD Card Eject Error


When trying to use the Dual MC33926 Motor Driver with my Raspberry Pi 3, I get an error that my sd card has been ejected. This happens specifically when I attempt to enable the motors.

I am trying to power a single motor using a 6V power supply. I first ran into this error when running the file. I have cloned the git repository for the Motor Driver as well as pip installed WiringPi. I am not sure what I have done wrong or what I can do to fix this issue.

Any help would be greatly appreciated!
Thank you, Cullen.


It sounds like you are experiencing a similar problem as the one discussed in this post. When you ran, did you run it with sudo? If not, running it with sudo might fix the problem.


Using sudo fixed my issue.

Thank you!