AnsweredAssumed Answered

AD9102: help with generator random waveform

Question asked by jsd_ele on Jul 13, 2017
Latest reply on Aug 1, 2017 by Biao.H

Hi all;

I'm having difficulty setting up the AD9102 to output random waveform from the SRAM (it does not work at all!, And we have already generator SIN_WAVE and SAW_WAVE). Here are several question during datasheet;

1.About Start_ADDR & Stop_ADDR in generator random waveform;

   As we known, the ADDR of SRAM is 16bit(0x6000~0x6fff) but Start_ADDR with only 12-bit available,so does it means Start_ADDR occupy 12LSB of the SRAM ADDR;(i've gotten that the DAC_output occupy 12MSB of SRAM_ADDR);

2. Here are the C code from the AD9102: help with /TRIGGER programming  

SPIbusSet(SPIBUS_DEV_AOM_DAC,0x60001000);

SPIbusSet(SPIBUS_DEV_AOM_DAC,0x60010000);

SPIbusSet(SPIBUS_DEV_AOM_DAC,0x60022000);

SPIbusSet(SPIBUS_DEV_AOM_DAC,0x60030000);

SPIbusSet(SPIBUS_DEV_AOM_DAC,0x60043000);

SPIbusSet(SPIBUS_DEV_AOM_DAC,0x60050000);

SPIbusSet(SPIBUS_DEV_AOM_DAC,0x60064000);

SPIbusSet(SPIBUS_DEV_AOM_DAC,0x60070000);

what surprising me most is how can it generator random waveform! From date sheet, we were known[15:12]is reserved!!

3.Is there any different  in Configuring the some  basic SFR (like SPI_configure) between the generator SIN_WAV and random  waveform .

4. Our MCU is the basic 8051(TTL-level instead of 3.3V). We wonder it will bring any side_effect to ad9102?

I find the documentation very confusing, so thanks for any input you might have on this.

Thanks!

Mayer

 

 

Outcomes