A standalone audio board contains an ADAU1701, a 12.288 MHz passive crystal and serial memory. With the programmer connected, its gain changes and it plays audio. It loses the intended operation after the programmer is unplugged and power is cycled. Check the clock, reset edge and memory transaction together. A live programming tool can write the DSP directly. An independent cold boot requires the DSP to load its program from local memory.
Check both bootstrap inputs and look for the EEPROM transaction
The Analog Devices application note says that self-boot starts on the rising RESET edge when both SELFBOOT and WP are high. A board may have a jumper holding WP low to enable EEPROM programming. Leaving it installed after programming prevents self-boot. Measuring the pin a second later misses a temporary low around reset. Capture those signals at the edge because a programmer or controller on the board can temporarily pull the line down.
During self-boot, the DSP drives the bus and reads the serial EEPROM. The data sheet specifies read address byte 0xA1, including the read bit. An analyzer showing seven-bit addresses displays 0x50. When the DSP itself is addressed after self-boot, its write and read address bytes are 0x68 and 0x69, equivalent to seven-bit address 0x34. Seeing 0x34 does not prove the DSP attempted to read the EEPROM. Save the address, direction, acknowledgment and source of the clock.
If no address appears after removing the programmer, check reset, the bootstrap signals and the system clock first. If the address is present but unacknowledged, verify the EEPROM supply and straps and the exact address sent. If it returns data but the intended behavior is missing, compare its contents with the intended image. Writing the DSP live is easy to mistake for programming the EEPROM. Use a recognizable gain change or left/right audio difference for production, then cycle power, remove the programmer and confirm the result at the analog output.
Calculate initialization and allow time for the program to load
The data sheet specifies 2¹⁸ input clock cycles for PLL startup measured from the rising RESET edge. With a working 12.288 MHz crystal circuit, 262,144 cycles represent about 21.33 ms. A short internal boot follows, about 42 µs in the 48 kHz example. The overall initialization remains about 21 ms. Adjust a host access attempted only a few milliseconds after reset to use the documented initialization window before diagnosing a missing acknowledgment.
The self-boot serial clock gives another check. The DSP generates SCL at eight times the sample rate. Assuming the normal 256-times master-clock configuration, 12.288 MHz corresponds to 48 kHz, giving 384 kHz on SCL. Interpret that measurement together with the actual straps, clock and transaction. The data sheet also gives a timing example for a complete program, parameters and registers at a nominal 400 kHz I²C bus. At 12.288 MHz the published total is about 196 ms. Program loading depends on the amount of data and the table's assumptions. The roughly 21 ms initialization is not the time at which the board is necessarily ready to play.
Retain a cold-boot test with the programmer removed
If a separate controller adjusts volume in normal use, it must wait until self-boot is complete before using the same bus. A product using EEPROM writeback must also avoid another transaction during writeback. Record reset, master clock, start of the memory read, the final good read and arrival of the test audio. Run first without the programming cable and then with any controller present in production. The circuit should neither depend on a pull-up in the adapter nor stall when connecting the production controller.
Check memory capacity against the final address of the compiled image. Analog Devices says many applications do not use all program and parameter memory. Its figure for full program, parameter and interface register contents is 9,248 bytes before other register settings and message overhead. Compare the complete exported image with the selected device capacity and verify readback at the beginning and end. A tool's success message may overlook a wrong target or a misplaced end of the image. If EEPROM writeback is enabled, verify the writeback destination and the area reserved for its data as well.
A similar symptom occurs if the programming adapter adds pull-ups. With self-boot straps and EEPROM address correct, removing the adapter can still make acknowledgment intermittent. Compare the actual logic-high levels and rise times at both the DSP and EEPROM, with and without the adapter. Check whether another open-drain driver holds a line low. The comparison can expose a board that works only because the tool's cable changes its electrical load or pull-up network.
For a substitute 12.288 MHz passive crystal, document the oscillator circuit, clock straps, actual startup and frequency. System acceptance should also retain the reset-time bootstrap values, EEPROM acknowledgment, image revision and actual audio after cycling power. Following those stages identifies whether the clock failed to start or the program never came from onboard memory.
