Expanding 7i97 Smart Serial Ports using SP491 chip

More
4 years 5 months ago #242270 by ContinenteCNC
So the loadrt line will stay unchanged?

loadrt hm2_eth board_ip="10.10.10.10" config=" num_encoders=6 num_pwmgens=6 num_stepgens=0 sserial_port_0=00000000"

All zeros on sserial port?

Please Log in to join the conversation.

More
4 years 5 months ago #242274 by PCW
if you want all sserial devices to run in mode 0

Please Log in to join the conversation.

More
4 years 5 months ago #242277 by ContinenteCNC
Ok, thank you very much Peter!

I will read a little more about modes, but I believe there is no reason to change, for I was able to make the first 7i84 work on mode 0.

What about the terminating resistors? Is there need for another one on YZ line?

Please Log in to join the conversation.

More
4 years 5 months ago #242280 by PCW
termination is only on RX not TX

Please Log in to join the conversation.

More
4 years 5 months ago #242315 by ContinenteCNC
Hi Peter! 

Unfortunately, it still won’t work. Only the first 7i84 show up on --sserial. The second one won't make a sound.

I tied REB and DE as you said. At first, I tried with a 10k resistor, it didn’t work. Then I tried with a jumper, didn’t work as well. 

I can’t see what could be wrong. 

There are a couple of pictures of the board attached, maybe someone could spot a mistake. 

If it doesn’t work by the end of next week we will be abandoning this approach a moving to a modbus I/O expansion card instead. 

We thought about using one of this Adam RS232 to RS422 converters. They are also 4 wire full duplex, but the baud rate is not enough. Max is 115200 kbs. Mesa is 2.5 mbs. 

I welcome any suggestion

hank you very much in advance! 

Bruno

Please Log in to join the conversation.

More
4 years 5 months ago #242318 by PCW
Are you sure you have the P1 connections right?

You are showing DB-25 pins, the HDR26 pins would be

RX1 --> 2
TX1 --> 6

Please Log in to join the conversation.

More
4 years 5 months ago #242326 by ContinenteCNC
OMG, you’re so right! Shame on me! 

I didn’t know there was such db25 adaptor… anyway. 

I was following the vhd file pin mapping, now it all makes sense. I should have used the IO to P1 pin mapping in 7i97 manual. 

Thank you! I’ll be trying it out tomorrow. 

I’m confident it will work now! 

Bruno

Please Log in to join the conversation.

More
4 years 5 months ago #242327 by PCW
The latest version of mesaflash shows both the header and DB25 pins:

P1-01/DB25-01 34 IOPort MuxedQCount 0 MuxQ-A (In)
P1-02/DB25-14 35 IOPort MuxedQCount 0 MuxQ-B (In)
P1-03/DB25-02 36 IOPort MuxedQCount 0 MuxQ-IDX (In)
P1-04/DB25-15 37 IOPort MuxedQCount 1 MuxQ-A (In)
P1-05/DB25-03 38 IOPort MuxedQCount 1 MuxQ-B (In)
P1-06/DB25-16 39 IOPort MuxedQCount 1 MuxQ-IDX (In)
P1-07/DB25-04 40 IOPort MuxedQCount 2 MuxQ-A (In)
P1-08/DB25-17 41 IOPort MuxedQCount 2 MuxQ-B (In)
P1-09/DB25-05 42 IOPort MuxedQCount 2 MuxQ-IDX (In)
P1-11/DB25-06 43 IOPort MuxedQCount 3 MuxQ-A (In)
P1-13/DB25-07 44 IOPort MuxedQCount 3 MuxQ-B (In)
P1-15/DB25-08 45 IOPort MuxedQCount 3 MuxQ-IDX (In)
P1-17/DB25-09 46 IOPort MuxedQCountSel 0 MuxSel0 (Out)
P1-19/DB25-10 47 IOPort None
P1-21/DB25-11 48 IOPort SSerial 0 RXData1 (In)
P1-23/DB25-12 49 IOPort SSerial 0 TXData1 (Out)
P1-25/DB25-13 50 IOPort SSerial 0 TXEn1 (Out)

Please Log in to join the conversation.

More
4 years 5 months ago #242329 by andypugh

I welcome any suggestion
Why is the 7i74 not under consideration? 

Please Log in to join the conversation.

More
4 years 5 months ago #242331 by ContinenteCNC

The latest version of mesaflash shows both the header and DB25 pins:

P1-01/DB25-01 34 IOPort MuxedQCount 0 MuxQ-A (In)
P1-02/DB25-14 35 IOPort MuxedQCount 0 MuxQ-B (In)
P1-03/DB25-02 36 IOPort MuxedQCount 0 MuxQ-IDX (In)
P1-04/DB25-15 37 IOPort MuxedQCount 1 MuxQ-A (In)
P1-05/DB25-03 38 IOPort MuxedQCount 1 MuxQ-B (In)
P1-06/DB25-16 39 IOPort MuxedQCount 1 MuxQ-IDX (In)
P1-07/DB25-04 40 IOPort MuxedQCount 2 MuxQ-A (In)
P1-08/DB25-17 41 IOPort MuxedQCount 2 MuxQ-B (In)
P1-09/DB25-05 42 IOPort MuxedQCount 2 MuxQ-IDX (In)
P1-11/DB25-06 43 IOPort MuxedQCount 3 MuxQ-A (In)
P1-13/DB25-07 44 IOPort MuxedQCount 3 MuxQ-B (In)
P1-15/DB25-08 45 IOPort MuxedQCount 3 MuxQ-IDX (In)
P1-17/DB25-09 46 IOPort MuxedQCountSel 0 MuxSel0 (Out)
P1-19/DB25-10 47 IOPort None
P1-21/DB25-11 48 IOPort SSerial 0 RXData1 (In)
P1-23/DB25-12 49 IOPort SSerial 0 TXData1 (Out)
P1-25/DB25-13 50 IOPort SSerial 0 TXEn1 (Out)
Nice! If I had updated it before my job would have been easier!

Please Log in to join the conversation.

Time to create page: 0.089 seconds
Powered by Kunena Forum