AnsweredAssumed Answered

disconnect dma from DAC (ad9122) and write custom data

Question asked by bahare on Dec 19, 2015
Latest reply on Dec 21, 2015 by DragosB

hi

i have a quastion :

when i am writing below code in system_top.v :

assign dac_ddata_1[63:48] = 16'h4444;

assign    dac_ddata_1[47:32] =16'h4444;

assign    dac_ddata_1[31:16] = 16'h4444;

assign    dac_ddata_1[15: 0] = 16'h4444;

assign    dac_ddata_0[63:48] = 16'h4444;

assign    dac_ddata_0[47:32] =16'h4444;

assign    dac_ddata_0[31:16] =16'h4444;

assign    dac_ddata_0[15: 0] = 16'h4444;

 

i have below figure :

2-4-6(sin).PNG

 

I defined DAC_DMA in main.c and figure is for sin wave in test.c and controll register is In defoult state( in in part of dma_setup in test.c) ,this figure mean that data in test.c in ps still arrives to dac while i assigned 16'h4444 to dac_ddata and I expect  that output of DAC_DMA (sin wave written in test.c )not connected to DAC in the other words DAC_DMA not send data to dac but why i have this figure? why i have sin wave?

(controll register is In defoult state( in in part of dma_setup in test.c))

please help me .

rejeesh AdrianCMiTfreak

Outcomes