Direct motor control + encoding vs using RT motor controller

Hello,

I am looking to control some motors using the jetson nano, what I was wondering is if the GPIO access is fast enough to provide a consistent PWM signal and if GPIO is fast enough to allow direct sampling of a motor encoder to count the steps and time elapsed?

The alternative is to find a stand alone motor controller which I can use to communicate to the nano through SPI or UART.

hello lowellm,

here’s similar discussion thread for your reference, Topic 144550.
you may refer to standard APIs to access GPIOs from kernel side.
thanks