I am trying to design a system that will load any pattern/s into another DUT IC (e.g.say an ADC) to initialize it to a known state (loading registers with known values). This will be followed by performing some measurements. So for example, if I load a pattern say 0x0A, 0x0B, etc. in the part, that may initialize the internal ADC and then when I know the part is in the right state, I can perform INL, DNL and other ADC tests.
To achieve this, I was thinking of using an AVR and load the AVR flash/eeprom with the patterns that I want to load into the DUT. Then I can clock each pattern through SPI ( DUT will always have a SPI interface). I am not worried about the frequency so much because these patterns don't have to be loaded at speed.
Does this sound doable? Any ideas would be appreciated.