[OpenSource_GPS] Fwd: a question about pull_in function in the open code

tongtong wang tongtongwang at gmail.com
Mon May 21 12:08:25 PDT 2007


Hi,

I have a question when reading the open code for GPSISR: ch_pull_in ().

In the PLL part in pull_in state,
"  q_sum = c->accum.q_dith + c->accum.q_prompt;
 i_sum = c->accum.i_dith + c->accum.i_prompt;
 if (i_sum != 0 || q_sum != 0)
   theta = fix_atan2 (q_sum, -i_sum); "

Is fix_atan2 (q_sum, -i_sum) the phase detecter?
Why  Q=q_sum & I=-i_sum are used instead of Q=c->accum.q_prompt & I =
c->accum.i_prompt;

Sorry for the mistake in last email.
Thanks again

//tongtong

---------- Forwarded message ----------
From: tongtong wang <tongtongwang at gmail.com>
Date: May 21, 2007 6:53 PM
Subject: a question about pull_in function in the open code
To: opensource_gps at lists.psas.pdx.edu


hi, there
....
...
...
//tongtong



More information about the opensource_gps mailing list