AnsweredAssumed Answered

how to make the data for the ad9910's Ramp-up

Question asked by ludong on Aug 21, 2016
Latest reply on Aug 21, 2016 by LouijieC

my question:
1)
   I make one cycle of the sin, the data [ Polar (phase and amplitude)] like this:
       mysin[0]<=32'h0000ffff;
       mysin[1]<=32'h0a3dffff;
       mysin[2]<=32'h147affff;
       mysin[3]<=32'h1eb7ffff;
       mysin[4]<=32'h28f4ffff;
       mysin[5]<=32'h3331ffff;
       mysin[6]<=32'h3d6effff;
       mysin[7]<=32'h47abffff;
       mysin[8]<=32'h51e8ffff;
       mysin[9]<=32'h5c25ffff;
       mysin[10]<=32'h6662ffff;
       mysin[11]<=32'h709fffff;
       mysin[12]<=32'h7adcffff;
       mysin[13]<=32'h8519ffff;
       mysin[14]<=32'h8f56ffff;
       mysin[15]<=32'h9993ffff;
       mysin[16]<=32'ha3d0ffff;
       mysin[17]<=32'hae0dffff;
       mysin[18]<=32'hb84affff;
       mysin[19]<=32'hc287ffff;
       mysin[20]<=32'hccc4ffff;
       mysin[21]<=32'hd701ffff;
       mysin[22]<=32'he13effff;
       mysin[23]<=32'heb7bffff;
       mysin[24]<=32'hf5b8ffff;  
       mysin[25]<=32'h0000ffff;
   I didn't got  one cycle of the sin.
   I write the data : 0x16 data1 dtata2 data3 data4 .... data25.
2)
   The data sheet of ad9910 didn't explain the way of write ram data.
   I think have two Possibility :
   a: 0x16 data1 0x16 data2 0x16 data3 0xa16 data4......0x16 data25
   b: 0x16 data1 dtata2 data3 data4 .... data25
   I don't know which is correct.

I write only the 0x16 and don't the data ,the ram_swp_over is correct.
I want toget the example code for the ramp-up of polar,who can give me,thank you very much!

Outcomes