06-30-2007 06:19 AM
07-03-2007 01:40 PM
Hi
Ok, the reason why the phase offset is not working is because you have not specified which DDC channel you are writing to. You should write the Channel IO Access Control Register (0x02) to enable the first DDC Channel, then write the phase offset and then do a Soft Sync. I'm attaching a screenshot of the modified version of your VI that does such thing. I've tested this approach and works fine.
- Mauricio07-04-2007 11:13 AM
Mauricio
Thank you for the advise. Now I have a somewhat more difficult question. All we are doing takes place within HOST vi. This seems inacceptable for real time system. The question is how to adjust NCO phase offset within FPGA TARGET vi ?
Fist, we should measure instataneous I and Q, and then calculate arctan(Q/I) within FPGA vi. All this is not a problem. The problem is when we try to increase/decrease in the same SCTL the NCO phase by the value previously calculated (FPGA-based PLL). Do you have any idea concerning the interface to NCO control registers within FPGA vi ? May be via direct microport R/W ?
Thank you in advance
07-06-2007 09:21 AM