以安装文件提供,先执行安装文件,然后到安装目录,打开需要的资源,程序是IAR的,编译能通过,程序注释很清晰,适合相关人员学习。CPU硬件平台:ST STM32F105VBdspin.h 文件,对寄存器结构做了详细的定义,对程序的易读性有很大的帮助:typedef struct{ uint32_t ABS_POS; uint16_t EL_POS; uint32_t MARK; uint32_t SPEED; uint16_t ACC; uint16_t DEC; uint16_t MAX_SPEED; uint16_t MIN_SPEED; uint16_t FS_SPD; uint8_t KVAL_HOLD; uint8_t KVAL_RUN; uint8_t KVAL_ACC; uint8_t KVAL_DEC; uint16_t INT_SPD; uint8_t ST_SLP; uint8_t FN_SLP_ACC; uint8_t FN_SLP_DEC; uint8_t K_THERM; uint8_t ADC_OUT; uint8_t OCD_TH; uint8_t STALL_TH; uint8_t STEP_MODE; uint8_t ALARM_EN; uint16_t CONFIG; uint16_t STATUS;}dSPIN_RegsStruct_TypeDef;同时对过电流的门限值做了通俗易懂的定义,总之是L6470入门编非常好的资料。
标签:
l6470
步进电机驱动ic
IAR
上传时间:
2022-06-30
上传用户:1208020161