- Posts: 335
- Thank you received: 0
Manually setup sserial HAL entry
4 years 11 months ago #226582
by Michael
Manually setup sserial HAL entry was created by Michael
I have a 7i92 running a 7i77 and 7i78. The 7i77 has a 7i84 atached to the serial section. How do you manually setup the sserial_port_0=0000xx in HAL to recognize the 7i84?
Please Log in to join the conversation.
4 years 11 months ago #226588
by PCW
Replied by PCW on topic Manually setup sserial HAL entry
Its done in the config section of the hardware driver command line, for example:
loadrt hm2_eth board_ip="192.168.1.121" config=" num_encoders=6 num_pwmgens=6 num_stepgens=0 sserial_port_0=0012xxxx"
loadrt hm2_eth board_ip="192.168.1.121" config=" num_encoders=6 num_pwmgens=6 num_stepgens=0 sserial_port_0=0012xxxx"
Please Log in to join the conversation.
4 years 11 months ago #226590
by Michael
Replied by Michael on topic Manually setup sserial HAL entry
Yes I understand that but what do each of the entries mean for the ports? The 0=0012xxxx? Which do I change for the mode of 7i84
Please Log in to join the conversation.
4 years 11 months ago #226591
by PCW
Replied by PCW on topic Manually setup sserial HAL entry
The format of the sserisl setup string is described in the hostmot2 manual page
but is basically this:
Starting from the left, the numbers set the modes of sserial devices 0 through N
so "sserial_port_0=203xxx"
Would set
sserial channel 0 to mode 2
sserial channel 1 to mode 0
sserial channel 2 to mode 3
and disable sserial channels 3,4,5 (the "x" disables a channel if the channel exists)
If you have a 7I77 with a 7I84, its likely the 7I84 is sserial channel 2
The channel layout depends on the specific firmware used.
You can determine the channel layout by using mesaflash's --readhmid function
but is basically this:
Starting from the left, the numbers set the modes of sserial devices 0 through N
so "sserial_port_0=203xxx"
Would set
sserial channel 0 to mode 2
sserial channel 1 to mode 0
sserial channel 2 to mode 3
and disable sserial channels 3,4,5 (the "x" disables a channel if the channel exists)
If you have a 7I77 with a 7I84, its likely the 7I84 is sserial channel 2
The channel layout depends on the specific firmware used.
You can determine the channel layout by using mesaflash's --readhmid function
Please Log in to join the conversation.
Time to create page: 0.073 seconds
