AD9850产生扫频波的程序 2的32次方等于 4294967296 控制字的计算: fOUT = (Δ Phase × CLKIN)/4294967296 where: Δ Phase is the value of the 32bit tuning word. CLKIN is the input reference clock frequency in MHz. fOUT is the frequency of the output signal in MHz. DATA=FOUT/CLK*4294967296 10k200khz 频率控制字如下步进10K 00418937,0083126F,00C49BA6,010624DD,0147AE14 0189374C,01CAC083,020C49BA,024DD2F2,028F5C29, 02D0E560,03126E98,0353F7CF,03958106,03D70A3D 04189375,045A1CAC,049BA5E3,04DD2F1B,051EB852 uchar code saopin[21][5]= { 0X00,0X00,0X00,0XA7,0XC6, //100HZ 0X00,0X00,0X41,0X89,0X37, //10K 0X00,0X00,0X83,0X12,0X6F, 0X00,0X00,0XC4,0X9B,0XA6, 0X00,0X01,0X06,0X24,0XDD, 0X00,0X01,0X47,0XAE,0X14, 0X00,0X01,0X89,0X37,0X4C, //60K 0X00,0X01,0XCA,0XC0,0X83, 0X00,0X02,0X0C,0X49,0XBA, 0X00,0X02,0X4D,0XD2,0XF2, 0X00,0X02,0X8F,0X5C,0X29, 0X00,0X02,0XD0,0XE5,0X60, //110K 0X00,0X03,0X12,0X6E,0X98,
声明:本文内容及配图由入驻作者撰写或者入驻合作网站授权转载。文章观点仅代表作者本人,不代表电子发烧友网立场。文章及其配图仅供工程师学习之用,如有内容侵权或者其他违规问题,请联系本站处理。 举报投诉
全部0条评论
快来发表一下你的评论吧 !