Re:TinyBIOS – A minimalist open-source BIOS project for fun
by packetlost on Saturday November 19, 2022 @03:00PM
(#33674005)
A lot of wifi/other wireless analog devices go through analogous training procedures. Things like timing and delays are pretty important to these types of systems and you don't have a clock edge to synchronize against like you do in wired protocols like SPI (though I imagine DDR initialization does have pins used for this or similar).
Re:TinyBIOS – A minimalist open-source BIOS project for fun
by monocasa on Saturday November 19, 2022 @03:34PM
(#33674367)
Yeah, DDR does have a synchronous clock. One of the points of calibration is making sure the signals are actually sampled correctly wrt to the clock signal since the bit times are so short even small differences of trace length matter. The length matching is just to get it in the ballpark that can be corrected with per pin delays.
Ironically perhaps, at bit times like these it's easier to not have a clock signal and simply perform clock recovery like PCIe does, but that comes with higher latency for the interface.
Re:TinyBIOS – A minimalist open-source BIOS project for fun
by deaddodo on Saturday November 19, 2022 @07:49PM
(#33676839)
Probing (especially analog) is common throughout all discrete components. Baud rates are negotiated, clock speeds probed, handshakes made, etc.
The idea that DDR4/5 analog probing is “black magic” makes me think of a software engineer who’s had their first go at a hardware TRM.
Re:TinyBIOS – A minimalist open-source BIOS project for fun
by ibeckermayer on Saturday November 19, 2022 @11:36PM
(#33678296)
Wow, what a fantastic resource. Extremely detailed while being concise, with links to other great explanations in the same site. Bookmarked
Edit: Reading the article is really cool, I just searched it as a reference but it is very in depth!