⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 readme.txt

📁 三星公司的有线数字高频头资料及源代码
💻 TXT
字号:
This is a explanation of QAM-NIM (TCMU30311PSB).

*Main source parts are user_if.c,host_api.c.
*The other files are only for demostrating.


To decrease Aquisition time, We revision Software.

If you coded old version before, you re-edit program as follow.
It's very easy.

1. exchange AGC_Adapt() function --> AGC_Adapt_2().



void Adapt_AGC_2()
{
int	ival,qval,esti;
int 	loop = 1;
	/* NIM qam */
	qam_read(MB_R,MB_LDAI,&ival,&qval);
//	printf("ival : %d",ival);
	if(ival < -20000)
	{
	T_AGC = 100;//strong input level
	}
	else if(ival < 30000)
	{
	T_AGC = 110;//normal input level
	}
	else
	{
	T_AGC = 120;//weakly input level  
	}
	Tuner_AGC(T_AGC);

}
 

2. Acquisition process are followed.
QAM_Init();
Adapt_AGC_2();
MY_Acquisition();


Appendix. Checking function is follow.
void Check_Lock()
{
  int    ival,qval;
		/* Check for FEC lock only if QAM_LOCK */
		/* Read the IRQ register to see if FEC in lock */
		qam_read(SB_R,SB_IRQCTL,&ival,&qval);
		if ((ival & 0x08) == 0x08) {
		       qam_status.status |= FEC_LOCK_STATUS;
		} else {
		       qam_status.status &= (~FEC_LOCK_STATUS);
		  /* if auto lock enabled and out of lock, reacquire */
		QAM_Init();
		Adapt_AGC_2();
		My_Acquisition();
		}
}


-END-

* Caution : Using this source code, the old version sample doesn't work.
 

If you have any quesiton, 
feel free to send a mail. (papilon@samsung.co.kr)
Friendly Regards.

Kim sungki

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -