So today I started setting up a test rig to establish SPI communication with one of the chips. But I need to know what data to send it. If anyone's got advice on this, I'd be happy to hear it.
Specifically, stuff like the A3222 datasheet gives three clock configuration segments, but I don't know why. And especially a means of calculating the midstate and other preprocessed values (a0, e0, etc). I'm spending time parsing through cgminer code, but by now there's a heck of a lot of cgminer code to look through and I figure surely after 3 years of Avalon products in the wild someone knows how those calculations work. Mostly I just need a valid sample I can push to the chip and see if it talks back with something that seems in any way "correct".
And yes, if it helps motivate someone to assist a bit, I will try to implement an A3218 stickminer based around this work.
I've always used MCU to communicate with Avalon chips.
A3222 was similar to gen 2 and 3
I can dig for the code for 3222 I'll be able to do this in my old lab
It is a firmware cod in C