Re: [Emc-users] Multiple 7i90 cards on Rpi 4b

2021-06-10 Thread Ralph Stirling
When I read to the end of the hm2_rpspi man page, I saw that it recommended 
using spi0 and spi1, so I changed my design for that.  I'll report back in a 
few weeks after I've tried it.

-- Ralph

On Jun 10, 2021 1:41 PM, "Peter C. Wallace"  wrote:
CAUTION: This email originated from outside the Walla Walla University email 
system.


On Thu, 10 Jun 2021, Ralph Stirling wrote:

> Date: Thu, 10 Jun 2021 19:22:20 +
> From: Ralph Stirling 
> Reply-To: "Enhanced Machine Controller (EMC)"
> 
> To: "Enhanced Machine Controller (EMC)" 
> Subject: Re: [Emc-users] Multiple 7i90 cards on Rpi 4b
>
> I'm not too worried about signal integrity issues, as
> I am using a four layer board and the traces are similar
> length for the original 2x13 connector and the second
> one.  I'm more worried about whether the Rpi 4B can
> handle double the traffic, and not sure whether it is
> better to use SPI0/CE0 and CE1, or SPI0 and SPI1/CE0.
> Also whether the multiple board functionality of hm2_rpspi
> has even been tested.
>
> I guess the board won't cost much from JLC, if I combine
> the order with another board I need.
>
> -- Ralph


You are very likely the first person to try this...
the SPI0+CE0 and CE1 seems simpler but I dont know
what hm2_rpspi has implemented.

> 
> From: Peter C. Wallace [p...@mesanet.com]
> Sent: Thursday, June 10, 2021 11:56 AM
> To: Enhanced Machine Controller (EMC)
> Subject: Re: [Emc-users] Multiple 7i90 cards on Rpi 4b
>
> On Thu, 10 Jun 2021, Ralph Stirling wrote:
>
>> Date: Thu, 10 Jun 2021 14:58:24 +
>> From: Ralph Stirling 
>> Reply-To: "Enhanced Machine Controller (EMC)"
>> 
>> To: "emc-users@lists.sourceforge.net" 
>> Subject: [Emc-users] Multiple 7i90 cards on Rpi 4b
>>
>> The man page for hm2_rpspi indicates that multiple SPI
>> cards may be connected to a single pi4, using the spi_probe
>> parameter to which SPI port and chip enable line should
>> be used for each card.  Has this been found to work well?
>> I have an application that needs two 7i90hd's, and I will
>> be making a small pcb to connect the 7i90hd's and the 4b.
>> My single 7i90/4b card is working fine.
>>
>> Thanks,
>> -- Ralph
>>
>
> I have not tried it. Cabling and signal integrity might be an issue.
>
> Peter Wallace
> Mesa Electronics
>
>
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.sourceforge.net%2Flists%2Flistinfo%2Femc-usersdata=04%7C01%7Cralph.stirling%40wallawalla.edu%7Cb91c54d533a340c9363808d92c5018b3%7Cd958f048e43142779c8debfb75e7aa64%7C0%7C1%7C637589544798551823%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000sdata=gzAMyUtNINSbmIMrIUhvtS2tRWEIO%2Fe8MJNyke%2B6NjE%3Dreserved=0
>

Peter Wallace
Mesa Electronics

(\__/)
(='.'=) This is Bunny. Copy and paste bunny into your
(")_(") signature to help him gain world domination.



___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.sourceforge.net%2Flists%2Flistinfo%2Femc-usersdata=04%7C01%7Cralph.stirling%40wallawalla.edu%7Cb91c54d533a340c9363808d92c5018b3%7Cd958f048e43142779c8debfb75e7aa64%7C0%7C1%7C637589544798551823%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000sdata=gzAMyUtNINSbmIMrIUhvtS2tRWEIO%2Fe8MJNyke%2B6NjE%3Dreserved=0

___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Multiple 7i90 cards on Rpi 4b

2021-06-10 Thread Peter C. Wallace

On Thu, 10 Jun 2021, Ralph Stirling wrote:


Date: Thu, 10 Jun 2021 19:22:20 +
From: Ralph Stirling 
Reply-To: "Enhanced Machine Controller (EMC)"

To: "Enhanced Machine Controller (EMC)" 
Subject: Re: [Emc-users] Multiple 7i90 cards on Rpi 4b

I'm not too worried about signal integrity issues, as
I am using a four layer board and the traces are similar
length for the original 2x13 connector and the second
one.  I'm more worried about whether the Rpi 4B can
handle double the traffic, and not sure whether it is
better to use SPI0/CE0 and CE1, or SPI0 and SPI1/CE0.
Also whether the multiple board functionality of hm2_rpspi
has even been tested.

I guess the board won't cost much from JLC, if I combine
the order with another board I need.

-- Ralph



You are very likely the first person to try this...
the SPI0+CE0 and CE1 seems simpler but I dont know
what hm2_rpspi has implemented.



From: Peter C. Wallace [p...@mesanet.com]
Sent: Thursday, June 10, 2021 11:56 AM
To: Enhanced Machine Controller (EMC)
Subject: Re: [Emc-users] Multiple 7i90 cards on Rpi 4b

On Thu, 10 Jun 2021, Ralph Stirling wrote:


Date: Thu, 10 Jun 2021 14:58:24 +
From: Ralph Stirling 
Reply-To: "Enhanced Machine Controller (EMC)"

To: "emc-users@lists.sourceforge.net" 
Subject: [Emc-users] Multiple 7i90 cards on Rpi 4b

The man page for hm2_rpspi indicates that multiple SPI
cards may be connected to a single pi4, using the spi_probe
parameter to which SPI port and chip enable line should
be used for each card.  Has this been found to work well?
I have an application that needs two 7i90hd's, and I will
be making a small pcb to connect the 7i90hd's and the 4b.
My single 7i90/4b card is working fine.

Thanks,
-- Ralph



I have not tried it. Cabling and signal integrity might be an issue.

Peter Wallace
Mesa Electronics


___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.sourceforge.net%2Flists%2Flistinfo%2Femc-usersdata=04%7C01%7Cralph.stirling%40wallawalla.edu%7C22cec5b8aec64e65e96508d92c417104%7Cd958f048e43142779c8debfb75e7aa64%7C0%7C1%7C637589481866817262%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000sdata=xalgYipRqF1wrn3imh95d7n5i1lf89hwPHBY6HqAh0w%3Dreserved=0



Peter Wallace
Mesa Electronics

(\__/)
(='.'=) This is Bunny. Copy and paste bunny into your
(")_(") signature to help him gain world domination.



___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Multiple 7i90 cards on Rpi 4b

2021-06-10 Thread Peter C. Wallace

On Thu, 10 Jun 2021, Ralph Stirling wrote:


Date: Thu, 10 Jun 2021 14:58:24 +
From: Ralph Stirling 
Reply-To: "Enhanced Machine Controller (EMC)"

To: "emc-users@lists.sourceforge.net" 
Subject: [Emc-users] Multiple 7i90 cards on Rpi 4b

The man page for hm2_rpspi indicates that multiple SPI
cards may be connected to a single pi4, using the spi_probe
parameter to which SPI port and chip enable line should
be used for each card.  Has this been found to work well?
I have an application that needs two 7i90hd's, and I will
be making a small pcb to connect the 7i90hd's and the 4b.
My single 7i90/4b card is working fine.

Thanks,
-- Ralph

___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users




I have not tried it. Cabling and signal integrity might be an issue.

Peter Wallace
Mesa Electronics


___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Multiple 7i90 cards on Rpi 4b

2021-06-10 Thread Gene Heskett
On Thursday 10 June 2021 10:58:24 Ralph Stirling wrote:

> The man page for hm2_rpspi indicates that multiple SPI
> cards may be connected to a single pi4, using the spi_probe
> parameter to which SPI port and chip enable line should
> be used for each card.  Has this been found to work well?
> I have an application that needs two 7i90hd's, and I will
> be making a small pcb to connect the 7i90hd's and the 4b.
> My single 7i90/4b card is working fine.
>
So is mine, Ralph. But you must be planning on a much more complex 
machine than my 75 yo sheldon lathe. I have a boat load of gingerbread 
stuff on mine, and I still have at least 30 gpio's uncommitted. On one 
card.

Take care and stay well Ralph.

Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page 


___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] Multiple 7i90 cards on Rpi 4b

2021-06-10 Thread Ralph Stirling
The man page for hm2_rpspi indicates that multiple SPI
cards may be connected to a single pi4, using the spi_probe
parameter to which SPI port and chip enable line should
be used for each card.  Has this been found to work well?
I have an application that needs two 7i90hd's, and I will
be making a small pcb to connect the 7i90hd's and the 4b.
My single 7i90/4b card is working fine.

Thanks,
-- Ralph

___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users