Skip to main content
clee.10
Associate II
July 26, 2019
Question

STSPIN220 with X-CUBE-SPN6

  • July 26, 2019
  • 0 replies
  • 415 views

Hi all,

I have a question about stspin220.h.

There are two define as follow:

/// Maximum frequency of the step clock frequency in Hz

#define STSPIN220_MAX_STCK_FREQ     (10000)

/// Minimum frequency of the step clock frequency in Hz

#define STSPIN220_MIN_STCK_FREQ     (8)

I just wanna know what if I want to use much more high speed.

e.g., #define STSPIN220_MAX_STCK_FREQ     (60000)

=> After my experiment, the motor try to get higher than 32k pulse/s

MCU will receive ex-interrupt from (EN/fault) signal, what did the driver IC do inside?

[More info...]

I am using STM32F373 (72MHz)

I measure the step clock ISR takes 7.8 us. That's to say, the maximum tick rate could reach about 128kHz right?

Thanks

This topic has been closed for replies.