Running DC motor using GPIO pins

Is there any possible way to run a DC motor of around 15 watts power using a separate power source using python in beaglebone black?
any possible solution will be appreciated. I don’t want to use any cape for the task.

thanks in advance.

Output current of a GPIO pin is around 6mA at 3.3V.


You need a Motor Driver like this one

to do so.
If you are able to generate a PWM signal with Python it should be no problem.