I have gone through one example "servo_motor" using PWM method to control motor direction, but that seems little different from what I want to develop.
I am having nRF5340 + DC motor + Encoder + H-bridge(L293D)
I want to start the motor on request from other device/microcontroller