Manually setup sserial HAL entry

More
15 Nov 2021 15:29 - 15 Nov 2021 16:22 #226582 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?
Last edit: 15 Nov 2021 16:22 by Michael.

Please Log in or Create an account to join the conversation.

More
15 Nov 2021 16:43 #226588 by PCW
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"

Please Log in or Create an account to join the conversation.

More
15 Nov 2021 16:54 #226590 by Michael
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 or Create an account to join the conversation.

More
15 Nov 2021 17:11 #226591 by PCW
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
The following user(s) said Thank You: Michael

Please Log in or Create an account to join the conversation.

Time to create page: 0.087 seconds
Powered by Kunena Forum