7i92->7i85->7i83 smart serial setup

More
14 Aug 2022 21:29 #249737 by JacobRush
I'm having trouble getting smart serial setup with the combination of mesa cards: 7i92->7i85->7i83

I have the 7i92 flashed with: "sudo mesaflash --device 7i92 --addr 10.10.10.10 --write 7i92/configs/hostmot2/7i92_7i85x2D.bit"

readhmid shows 2 serial interfaces on my 7i92 now. But when I launch linuxcnc halshow does not show any downstream devices and I get yellow lights on the 7i85, 7i83. It does show 

I made my cables per the manual instructions and verified that the cable end is wired with T568B pinout. 

I've tried everything I can think of but this is my first setup with multiple mesa boards and its entirely likely I'm missing something basic here.. 


readhmid:
IO Connections for P2
DB25 pin#             I/O   Pri. func    Sec. func        Chan     Sec. Pin func   Sec. Pin Dir

 1                      0   IOPort       SSerial          0        RXData4         (In)
14                      1   IOPort       SSerial          0        TXData4         (Out)
 2                      2   IOPort       SSerial          0        RXData3         (In)
15                      3   IOPort       SSerial          0        TXData3         (Out)
 3                      4   IOPort       SSerial          0        RXData2         (In)
16                      5   IOPort       SSerial          0        TXData2         (Out)
 4                      6   IOPort       SSerial          0        RXData1         (In)
17                      7   IOPort       SSerial          0        TXData1         (Out)
 5                      8   IOPort       SSerial          0        RXData0         (In)
 6                      9   IOPort       SSerial          0        TXData0         (Out)
 7                     10   IOPort       MuxedQCountSel   0        MuxSel0         (Out)
 8                     11   IOPort       MuxedQCount      0        MuxQ-A          (In)
 9                     12   IOPort       MuxedQCount      0        MuxQ-B          (In)
10                     13   IOPort       MuxedQCount      0        MuxQ-IDX        (In)
11                     14   IOPort       MuxedQCount      1        MuxQ-A          (In)
12                     15   IOPort       MuxedQCount      1        MuxQ-B          (In)
13                     16   IOPort       MuxedQCount      1        MuxQ-IDX        (In)

IO Connections for P1
DB25 pin#             I/O   Pri. func    Sec. func        Chan     Sec. Pin func   Sec. Pin Dir

 1                     17   IOPort       SSerial          1        RXData4         (In)
14                     18   IOPort       SSerial          1        TXData4         (Out)
 2                     19   IOPort       SSerial          1        RXData3         (In)
15                     20   IOPort       SSerial          1        TXData3         (Out)
 3                     21   IOPort       SSerial          1        RXData2         (In)
16                     22   IOPort       SSerial          1        TXData2         (Out)
 4                     23   IOPort       SSerial          1        RXData1         (In)
17                     24   IOPort       SSerial          1        TXData1         (Out)
 5                     25   IOPort       SSerial          1        RXData0         (In)
 6                     26   IOPort       SSerial          1        TXData0         (Out)
 7                     27   IOPort       MuxedQCountSel   4        MuxSel0         (Out)
 8                     28   IOPort       MuxedQCount      2        MuxQ-A          (In)
 9                     29   IOPort       MuxedQCount      2        MuxQ-B          (In)
10                     30   IOPort       MuxedQCount      2        MuxQ-IDX        (In)
11                     31   IOPort       MuxedQCount      3        MuxQ-A          (In)
12                     32   IOPort       MuxedQCount      3        MuxQ-B          (In)
13                     33   IOPort       MuxedQCount      3        MuxQ-IDX        (In)

Top of HAL file: 
loadrt [KINS]KINEMATICS
loadrt [EMCMOT]EMCMOT servo_period_nsec=[EMCMOT]SERVO_PERIOD num_joints=[KINS]JOINTS
loadrt hostmot2
loadrt hm2_eth board_ip="10.10.10.10" config="sserial_port_0=00000000" 
setp    hm2_7i92.0.watchdog.timeout_ns 5000000
loadrt pid names=pid.x,pid.y,pid.z,pid.s

addf hm2_7i92.0.read          servo-thread
addf motion-command-handler   servo-thread
addf motion-controller        servo-thread
addf pid.x.do-pid-calcs       servo-thread
addf pid.y.do-pid-calcs       servo-thread
addf pid.z.do-pid-calcs       servo-thread
addf pid.s.do-pid-calcs       servo-thread
addf hm2_7i92.0.write         servo-thread
setp hm2_7i92.0.dpll.01.timer-us -50


 
Attachments:

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

More
14 Aug 2022 21:38 #249738 by PCW
Do you have the 7I83's VIN supplied?

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

More
14 Aug 2022 21:56 #249742 by JacobRush
I have 5v power going to the 7i92 and the jumpers on the 7i92 W3,W4 are in the up "breakout power enabled" setting. I do get yellow LEDs lighting on the 7i85,7i83 boards.

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

More
14 Aug 2022 22:02 #249743 by PCW
Sounds like you do not have VIN power to the 7I83 (on TB1)
The following user(s) said Thank You: JacobRush

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

More
14 Aug 2022 22:32 #249744 by JacobRush
Ah yup that was it! I was thinking I would see something in halshow for the 7i85 so had not turned my attention to the 7i83.

Thank you.

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

Moderators: PCWjmelson
Time to create page: 0.137 seconds
Powered by Kunena Forum