相较前一版本优化一些参数
This commit is contained in:
parent
bc926cd3be
commit
1d829f0962
|
@ -576,7 +576,7 @@ char tmc2160_write_register(char choice, unsigned char mode, unsigned char data)
|
|||
buff[1] = tmc2160_chopconf_data(data);
|
||||
#ifdef PTZ_SUPER_LIGHT_WORM_STEP_TMC2160_AS5047D_24V
|
||||
buff[2] = 0xec;//ed,,高4为被动快速衰减时间,可降低中程共振
|
||||
buff[3] = 0xc3;//03
|
||||
buff[3] = 0x43;//03
|
||||
buff[4] = 0x38;//C3
|
||||
#endif
|
||||
|
||||
|
@ -596,7 +596,7 @@ char tmc2160_write_register(char choice, unsigned char mode, unsigned char data)
|
|||
case TMC2160_VDCMIN: //22:8位有效
|
||||
buff[0] = TMC2160_VDCMIN +0x80;
|
||||
buff[1] = 0x00;
|
||||
buff[2] = 0x03;
|
||||
buff[2] = 0x04;
|
||||
buff[3] = 0xff;
|
||||
buff[4] = 0x00;
|
||||
if(choice == TMC2160_HORI)
|
||||
|
@ -612,7 +612,7 @@ char tmc2160_write_register(char choice, unsigned char mode, unsigned char data)
|
|||
buff[1] = 0x00;
|
||||
buff[2] = 0x00;
|
||||
buff[3] = 0x00;
|
||||
buff[4] = 0x19;
|
||||
buff[4] = 0x11;
|
||||
if(choice == TMC2160_HORI)
|
||||
{
|
||||
hori_regis.chop_conf = tmc2160_write_hori_data(choice, buff[0],buff[1],buff[2],buff[3],buff[4]);
|
||||
|
|
Loading…
Reference in New Issue