155 points · by pabs3 · 2y ago · 40 comments
Right, the latency would improve but with the cost of increased uncontrolled noise. An anti-aliasing filter shall be applied before the decimation to overcome that.
IIR filters are out of the question for this purpose because of how the phase is affected.
FIR filters tend to be costy due to a possibly high order. Proper decimating filters reduce that cost by a factor of N. Also if it's not required to keep full Fs/2N bandwidth clean just a part of it, it's enough to just "punch holes" instead of doing a full lowpass, which reduces the cost further.
This is a 40 year old problem that has no solution. All we would need to do is agree on exactly how to do it and set it as a standard.
https://www.eevblog.com/forum/microcontrollers/smart-auto-ba...
(2) The solution existed for a long time: get a logic analyzer or a scope, then look at the signal. This is pretty simple and very cheap, as sub-MHz logic analyzers are like $10 today.
(3) That said, last time I had an unknown device I was too lazy to find my scope and connect it.. it was much easier to me to try a few bitrates using regular UART util output started to make sense, especially since it's often easy to tell if the bitrate is a bit off or way off.
Everybody uses a USB dongle now to talk to these things anyway, so there’s no reason to stay electrically or logically compatible with RS-232.
With UART, you have a single integer to guess, maybe one of the 10 options. And guessing it simple, as data flows even when nothing is connected, so you can trivially find it on the PCB and scope it.
With Ethernet, you have vastly more thing to guess. Starting with Ethernet pinout, then IP address, then port, protocol and authentication. And in most cases, you are not going to be able to passively listen and get useful debug information - while I can theoretically imagine an embedded system configured with netconsole in broadcast mode, I've never seen such configuration in practice.
Yes, Ethernet is very nice if device works, but it's pretty unusable for embedded / early boot debugging.
It grates me that the only solution I have to open networking is to put my modem into an open router and hope that no shenanigans are happening in the modem.
OTOH you can get a 2.5gbps MoCA adapter for like 50 bucks, and it can be installed, working, and reasonably secure in about 30 seconds. So I don't think DIY DOCSIS is a worthwhile pursuit outside the novelty.
Appropriately cryptic result for messing with an old cable modem and turning it into a software defined radio.
I stopped an old man along the way
Hopin' to find some old forgotten words or ancient melodies
He turned to me as if to say
"Hurry, boy, it's waiting there for you"Timeless quote.