This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

MSP432E401Y: MSP432 to feed STEP pulses to DRV8711

Part Number: MSP432E401Y
Other Parts Discussed in Thread: DRV8711, MSP430G2553,

Hello,

Could you please advise how to drive the DRV8711 STEP pin?

The DRV8711 is for steppers. Its input is STEP/DIR type.

The MSP432 is required to give positive pulses of specified number, at a specified period.

A sample code slvc575a.zip (for MSP430G2553) seemed a fully or partially CPU operation.
(software timer was found in [utiility.c Ln391])
                for (i = 0; i < 1000; i++) { __delay_cycles(1000); }

Please tell me if you have an idea or a sample code which saves MSP432E401Y CPU load.

My idea would be, a combination of PWM and GPTM. PWM to repeat STEP pulses and GPTM to count the number of the pulses.

A solution of low CPU load would be highly appreciated.

**Attention** This is a public forum