News for hackers. Stuff that matters.
Re:Ethernet over barbed wire by bsder on Tuesday December 12, 2017 @08:42PM (#15911302)
Has this become standardized yet? I've got a bunch of multi-drop CAN stuff that I would LOVE to move over to single pair ethernet with multi-drop a la 10BASE2. Unfortunately I haven't see a 10BASE2 compatible PHY in 20+ years.

IEEE had a working group on this but I hadn't seen any actually shipping chips that mortals could get their hands on.

(Edit: Apparently still vapor. Still can't find a source for the Marvell 88Q1010 & 88Q2112.)

(Edit: Only thing available seems to be this which is almost certainly some gigantic FPGA solution ... https://beyondstandards.ieee.org/connected-vehicles/intrepid...)

Re:Ethernet over barbed wire by zbrozek on Tuesday December 12, 2017 @11:26PM (#15912021)
If you're OK with 100 mbps point-to-point over a single wire pair, there's stuff like the TJA1100[1].

10Base-T1 might be a real thing someday. You might just want RS-485.

[1] https://www.nxp.com/docs/en/data-sheet/TJA1100.pdf

Re:Ethernet over barbed wire by voxadam on Tuesday December 12, 2017 @11:16PM (#15911982)
What are your bandwidth and latency requirement? More than once I've pondered 6LoWPAN over RS485 using token passing.
Re:Ethernet over barbed wire by bsder on Wednesday December 13, 2017 @12:51AM (#15912332)
My biggest problem is software stack performance--not physical layer performance. Most protocol stacks in the embedded space other than TCP/IP are mind-blowingly bad.

Being able to obliterate USB, CAN, and RS-232 (to a lesser degree--RS-232 is really reliable but the problem is generally in frequency drift if you don't have a crystal anywhere) in all of my designs and replacing it with ethernet will dramatically improve the reliability of my hardware. The only places I don't currently have ethernet in my designs are where I'm limited to a single pair of wires.

As for RS485, it doesn't really offer me anything that I don't already get with CAN.

Re:Ethernet over barbed wire by IgorPartola on Wednesday December 13, 2017 @09:53AM (#15914545)
What do you work on?
Re:Ethernet over barbed wire by bsder on Wednesday December 13, 2017 @04:34PM (#15917883)
Lots of industrial stuff related to various types of testing. Performance matters some, but I'm not hard real-time.

However, everything has to work, reliably, in less than ideal environments--mostly high-voltage spikes caused by differences in ground potentials.

USB is a PITA because while data is differential, connection detection is not. So, spikes cause USB disconnects and drivers never cope with that.

CAN is a PITA because it is limited to 8-bytes per message. Good for transducers and 8 bit microcontrollers--not so good for complex control and 32-bit microcontrollers.

Ethernet hits a really great sweet spot of fully-differential and nice single packet size for a 32-bit microcontroller--program like it's 1989, baby.

Re:Ethernet over barbed wire by voxadam on Thursday December 14, 2017 @04:52PM (#15927458)
I absolutely agree that Ethernet is ideal and the correct solution for modern systems. Have you worked with EtherCAT at all?