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为视频领域提供了一种很好的视频时钟解决方案。
信号发生器 电压 CMOS 电路 总线 滤波器 振荡器 LCD 相关文章:
- 一种基于AD9857的信号发生器的设计(09-07)
- 基于ML2035的简易正弦信号发生器(11-01)
- 基于DDS的调频信号发生器的设计与仿真(04-12)
- 基于SPMC75系列单片机的高性能三相变频电源(05-03)
- 基于AT89C52单片机的超低频信号发生器设计(06-01)
- 基于AD9957的USB侧音测距信号发生器设计(10-09)