void HMC830_2097M(void)//参考40MHz
{
WR_data(0x01,0x00000002);
WR_data(0x02,0x00000001);//参考频标预分频寄存器
WR_data(0x05,0x00001628);//VCO_reg5
WR_data(0x05,0x000060A0);//VCO_reg4
WR_data(0x05,0x00000898);//VCO_reg3,单端输出898,差分输出818
WR_data(0x05,0x0000E090);//VCO_reg2,VCO输出分频为1
//WR_data(0x05,0x0000E190);//VCO_reg2,VCO输出分频为2
WR_data(0x05,0x00000000);//VCO_reg0
//WR_data(0x06,0x000307CA);//整数模式Mode B,PFD>50M
//WR_data(0x06,0x002007CA);//整数模式Mode B,PFD<50M
//WR_data(0x06,0x00030F4A);//小数模式 Mode B
//WR_data(0x06,0x00000F4A);//小数模式 Mode B,PFD<50M
WR_data(0x06,0x00200B4A);//小数模式 Mode B,PFD<50M
WR_data(0x07,0x0000014D);//锁定窗口设置
WR_data(0x08,0x00C1BEFF);
//WR_data(0x09,0x0000376E);//
//WR_data(0x09,0x00501E3C);//电荷泵电流
//WR_data(0x09,0x00513264);//电荷泵电流2mA
//WR_data(0x09,0x00489932);//电荷泵电流1
WR_data(0x09,0x00557EFD);//电荷泵电流2.5
WR_data(0x0A,0x00002046);//
//WR_data(0x0B,0x0007C061);//
WR_data(0x0B,0x0007C021);// disable PD DN output
WR_data(0x0F,0x00000081);//GPO_SPI_RDIV
WR_data(0x03,0x00000034);//整数部分50
WR_data(0x04,0x006CCCCD);//小数部分50
} |