Post #1647245
2026-04-03 17:25 UTC
Replies (1)
-
@thelastpsion@oldbytes.space 2026-04-03 20:47
When first talking to ASIC4, this is the process: Master "selects" slave ID:6 ("Hello, am I talking to ASIC4?").Master requests a byte. if it's ASIC4, it'll get a non-zero response ("Yes, I am, and here's how I'm set up.") This includes the device (chip) size information (1 = 32K, 2 = 64K, etc).If ASIC4 sends a non-zero response, master reads a byte from ASIC4's Register 1. ASIC4 sends an "extended info" byte with more information.Master then requests to send a byte to ASIC4's Register 1, and sends back the device size info. This last step always confused me. I can't see it mentioned anywhere in the SDK, but it's clear to see in my logic probe captures. If you don't do this, you only see the first 32K of each device (device size of 0 also means 32K). I had no idea why this was needed, but I accepted it and added a comment to the code to come back to it later. Chekhov's byte.