ADI requires even SRAM pattern length when trigger delay is enabled. With TRIG_DELAY_EN set, the start and stop addresses must have opposite parity. Both endpoints count. Addresses 0x000 through 0x3E8 cover 1001 samples and are both even, so this range does not meet the documented condition. Changing the trigger delay value or buying a different oscillator does not correct the address range.
If the waveform permits it, trim a redundant last point and stop at 0x3E7 for 1000 points, or append a deliberately chosen terminal sample and stop at 0x3E9 for 1002 points. Do not append an arbitrary zero if it adds an unwanted analog step. A 156.25 MHz DAC clock corresponds to 6.4 ns per point only when the address advances every DAC clock. If sample hold or another counter source is used, calculate its timing separately. Pattern length is not the entire trigger-to-end duration.
Compare a known valid sequence and the modified sequence using the same TaiTien reference and output load. On a multichannel board the extra point must not overwrite another waveform's shared-memory region. Capture the reference, trigger and waveform on a common time base to verify both endpoints and nearby channels. Qualify the exact oscillator ordering code and input interface independently of this firmware correction.
Related selection guide: MERLIN Crystal Timing: Verifying an AD9833 Frequency Hop with a 25 MHz Reference and a Two-Frame SPI Write | Crystal & Oscillator Handbook
Resource link: https://www.mecxtal.com.cn/en/handbook/ad9833-frequency-word-write.html
