- Posts: 261
- Thank you received: 3
SSI absolute encoders and analog servos
- terkaa
- Offline
- Elite Member
-
Less
More
10 years 2 months ago #79045
by terkaa
Replied by terkaa on topic SSI absolute encoders and analog servos
Nope it did not work either.
Tero
Tero
Please Log in or Create an account to join the conversation.
- andypugh
- Offline
- Moderator
-
Less
More
- Posts: 19899
- Thank you received: 4655
10 years 2 months ago #79049
by andypugh
Replied by andypugh on topic SSI absolute encoders and analog servos
I just realised... This is an SSI pin.
The SSI pin names depend entirely on the config string passed to the module.
In other words, you only get the pins you ask for. Why do you think that there should be a timer-number pin?
The SSI pin names depend entirely on the config string passed to the module.
In other words, you only get the pins you ask for. Why do you think that there should be a timer-number pin?
Please Log in or Create an account to join the conversation.
- PCW
- Offline
- Moderator
-
Less
More
- Posts: 18115
- Thank you received: 5334
10 years 2 months ago #79052
by PCW
Replied by PCW on topic SSI absolute encoders and analog servos
Its a parameter:
(s32 r/w) hm2_XiXX.N.ssi.MM.timer-num
This parameter allocates the SSI module to a specific
hm2dpll timer instance. This pin is only of use in
firmwares which contain a hm2dpll function and will
default to 1 in cases where there is such a function, and
0 if there is not. The pin can be used to disable reads
of the encoder, by setting to a nonexistent timer number,
or to 0.
(s32 r/w) hm2_XiXX.N.ssi.MM.timer-num
This parameter allocates the SSI module to a specific
hm2dpll timer instance. This pin is only of use in
firmwares which contain a hm2dpll function and will
default to 1 in cases where there is such a function, and
0 if there is not. The pin can be used to disable reads
of the encoder, by setting to a nonexistent timer number,
or to 0.
Please Log in or Create an account to join the conversation.
- terkaa
- Offline
- Elite Member
-
Less
More
- Posts: 261
- Thank you received: 3
10 years 2 months ago #79054
by terkaa
Replied by terkaa on topic SSI absolute encoders and analog servos
So this line should be "setp hm2_5i25.0.ssi.00.timer-number 1"
Please Log in or Create an account to join the conversation.
- PCW
- Offline
- Moderator
-
Less
More
- Posts: 18115
- Thank you received: 5334
10 years 2 months ago #79057
by PCW
Replied by PCW on topic SSI absolute encoders and analog servos
The manual page says timer-num
Please Log in or Create an account to join the conversation.
- terkaa
- Offline
- Elite Member
-
Less
More
- Posts: 261
- Thank you received: 3
10 years 2 months ago #79059
by terkaa
Replied by terkaa on topic SSI absolute encoders and analog servos
Ok,
setp hm2_5i25.0.ssi.00.timer-number 1
Does work, but I will check if there is also timer-num parameter. Also there is a small typo with SSI pins. It says positon where should be position. ie pin positon.position
Tero
setp hm2_5i25.0.ssi.00.timer-number 1
Does work, but I will check if there is also timer-num parameter. Also there is a small typo with SSI pins. It says positon where should be position. ie pin positon.position
Tero
Please Log in or Create an account to join the conversation.
Moderators: PCW, jmelson
Time to create page: 0.387 seconds