微波EDA网,见证研发工程师的成长!
首页 > 硬件设计 > 模拟电路设计 > ICS1523型高性能可编程行同步时钟发生器的原理及应用

ICS1523型高性能可编程行同步时钟发生器的原理及应用

时间:10-26 来源:互联网 点击:





配置程序:

//ICS 1523 Initialisation

ack=ICS1523_WriteByte((unsigned char)ICS_ICR,(unsigned char)0)

error status =ack;

ack=ICS1523_WriteByte((unsigned char)ICS_OE,(unsigned char)Ox1A);

error status =ack:



[table]


ack=ICS1523_WriteByte((unsigned char) ICS_OD,0xFF)

error_status |=ack;

ack=ICSl523_WriteByte((unsigned char) ICS_DPAO,(unsigned char)0)

error_status |=ack;

nb_trial=0;

d0

{nb_trial++;

ack=ICS1523_WriteByte((unsigned char)ICS_ICR,0xC1);

error status |=ack;

ack=ICS1523_WriteByte((unsigned char)ICS_LCR,0x37);

error_status |=ack;

ack=ICS1523_WriteByte((unsigned char)ICS_FD0,0x39);

error_status |=ack;
ack=ICS1523_WriteByte((unsigned char)ICS_FD1,Ox00);

error_status |=ack;

ack=ICS1523_WriteByte((unsigned char)ICS_SWRST,Ox50);

error_status |=ack;

//Program l ms temporizing period initial_timeout=GetTickCount();

while(GetTickCount()<(initial_timeout+TIMEOUT_0F_1000 US));

ICS1523_ReadByte((unsigned char)ICS_SR,status);

}while(!((unsigned int)*status&(unsigned int)ICS_PLLLOCK)&&(nb_trial<10));

ack=ICS1523_WriteByte((unsigned char)ICS_DPAC,0x03);

error_status |=ack;

ack=ICS1523_WriteByte((unsigned char)ICS_SWRST,OxOA);

error_status |=ack;

initial_timeout=GetTickCount();

while(GetTickCount()<(initial_timeout+TIMEOUT_OF_1000us));

ack=ICS1523_WriteByte((unsigned char) ICS_DPAO,Ox00);

error_status |=ack;

return error_status;

5 结束语

本文提供的硬件电路及寄存器配置值已经在实际应用中得到验证,是完全正确的。ICS1523为视频领域提供了一种很好的视频时钟解决方案。

Copyright © 2017-2020 微波EDA网 版权所有

网站地图

Top