Innovative Integration
 
Log inUsernamePassword
Log me on automatically each visit    
Register
Register
Log in to check your private messages
Log in to check your private messages
Programming DR DDC Chip GC5016

 
Post new topic   Reply to topic    II Support Forum Index -> DR Digital Receiver PMC module
View previous topic :: View next topic  
Author Message
firasmail2000@yahoo.com



Joined: 26 Sep 2007
Posts: 12

PostPosted: Sun Aug 24, 2008 12:42 am    Post subject: Programming DR DDC Chip GC5016 Reply with quote

Hi,

I know this is not related directly to your DR card, but help is highly appreciated. I want to configure the GC5016 of my DR to accept real input from the ADC and produce interleaved complex IQ output. GC5016 data sheet mentions not clearly two methods.:


The first one (By configuring GC5016 Script file):

bits 16
pins 8


The second one (By configuring GC5016 Script file):

bits 16
pins 16
routf_iqmux 1
routf_tdm 0
sck_div 4


However the second methods gives a warning when running CMD5016.exe file.

Which of the two methods is best ? Thank you in advance.


Note:
How we can display interleaved IQ DDC output in BinView ?

Bets Regards,

Firas


Firas
Back to top
View user's profile Send private message Send e-mail
amane



Joined: 17 Apr 2006
Posts: 118
Location: Simi Valley

PostPosted: Mon Aug 25, 2008 8:13 am    Post subject: Re: Programming DR DDC Chip GC5016 Reply with quote

Hi,
Innovative Integration provides GC5016 programming guide. This zip is named GC5016 Design Tools.zip and can be found at <Innovative Root Directory>/DR/Hardware/GC5016 Design Tools.

Many customers require to provide real Data to GC5016 and capture I/Q data from the chip . We have developed a script that can be used as an example . GC5016_script.txt file serves as an example to implement GSM channel using GC5016 chip. Please see the attached zip file and also pmc_dr*.txt files .
First script (pmc_dr.txt) is used for writing the DDC data format
control registers.
For each DDC the register address map is explained in the Framework
logic user guide. (page 166)
In this application , the number of words captured from each channel on
each DDC are 2 per frame sync signal. And hence each register gets 0x"2222" value.
Second script only reads the registers written to make sure that right values were written into the required registers.

The parsing of the scripts is serialized within the module stream initialization as detailed below. The activities below occur within the processing of Stream.Start().


1. The DR module is reset, then all software-specified settings are reapplied to all registers on the module. This is done so that the module is placed into a known-state as each data collection (streaming) sequence initiates. As part of the reapplication of all onboard register values, all of the DDR registers are rewritten using stock values embedded within the driver which place the Graychip 5016 into pass-through mode, which is the default operational mode.
2. After this initialization, the module BeforeStreamStart event is called, which provides an opportunity for the application software to perform register initialization which supercedes that performed during Stream.Start(). In the supplied example, the application code makes use of the Malibu script interpreter to parse simple commands from a text file. These commands, which are not part of Malibu and are application-specific, are used to modify the state of onboard registers via the l! (logic-store) command. However, it is important to realize that while the example code calls the script interpreter in this fashion, any application-specific processing could be performed in the AfterStreamStart handler. For instance, the application could call PokeLogic repeatedly to initialize the DDC registers instead of using a script.
3. Data flow is enabled - internally, the Run bit in the control register is enabled. However, the module is not yet triggered, so acquisition has not yet commenced.
4. The AfterStreamStart application event is called. Within the example code, the module software trigger is enabled. Immediately thereafter, A/D acquistion and processing by the GC5016s is underway.


Following this, the module bus-masters blocks of data to the Host PC as they become available. As each block arrives, the application is notified via the HandleDataAvailable event to allow application-specific processing.


Since this processing is serialized, there is no need to worry about how long it takes to execute. If your application needed to trigger externally, all external triggers following Stream.Start would be respected.

Sincerely,

Amit Mane
Systems Engineer
Innovative Integration Inc.
Simi Valley,Ca
Back to top
View user's profile Send private message Visit poster's website
firasmail2000@yahoo.com



Joined: 26 Sep 2007
Posts: 12

PostPosted: Mon Aug 25, 2008 10:48 pm    Post subject: Reply with quote

Dear Amane,

Thank you very much for your post. It certainly clarifies many things and I wish they being included in Innovative documents about using the GC5016.
I Think the GC5016 data sheets is not friendly.

However, I have the following notes (about the attached GC5016 Design Tools) and I need you opinions on it:

1) In the file pmc_dr.txt line 34, the register 0x1f is not used in the frame work logic. So as the line 31 in pmc_dr_after.txt

2) In GC5016_script file line 52 and 53, I think the 'bits' and 'pins' should be omitted as they are used else where in this file (lines 107 and 108)


3) In GC5016_script file line 100, the 'freq' value should be -54.89 [freq = - (fck (69.33) - desired tuning frequency (14.44)]]

4) Why in GC5016_script file line 89, the 'fir_cmplx' is equal 1? from the MATLab file, I see the generated filter is not complex.


5) I modified the filter coefficient calculator MATLab file you wrote to create the output taps file directly from within the m file. Can I post it in the forum or this will voilate Innovative copy rights?


Best Regards,


Firas
Back to top
View user's profile Send private message Send e-mail
amane



Joined: 17 Apr 2006
Posts: 118
Location: Simi Valley

PostPosted: Tue Aug 26, 2008 8:30 am    Post subject: Reply with quote

1) In the file pmc_dr.txt line 34, the register 0x1f is not used in the frame work logic. So as the line 31 in pmc_dr_after.txt
Ans : This register is only read back in the logic . This is unused and can be omitted.

2) In GC5016_script file line 52 and 53, I think the 'bits' and 'pins' should be omitted as they are used else where in this file (lines 107 and 108)
In the example provided by Innovative Integration, A GSM channel is implemented. The required bits and pins for 16 bit real input and 16 bit complex output is given by the GC5016 script file.


3) In GC5016_script file line 100, the 'freq' value should be -54.89 [freq = - (fck (69.33) - desired tuning frequency (14.44)]]
Ans : The tuning frequency is 14.44 MHz in the example provided by Innovative,. And hence the tuning freq value is -14.44 MHz and not -54.99MHz. GC5016 datasheet explains tuning frequency settings for DDC operation.


4) Why in GC5016_script file line 89, the 'fir_cmplx' is equal 1? from the MATLab file, I see the generated filter is not complex.

Ans : In the GSM channel example, data output from DDC is complex and hence the FIR produces complex outputs.



5) I modified the filter coefficient calculator MATLab file you wrote to create the output taps file directly from within the m file. Can I post it in the forum or this will voilate Innovative copy rights?
Ans : Sure .. not a problem.

Best Regards,


Firas


Amit Mane
Systems Engineer,
Innovative Integration Inc.
Simi Valley,ca
Back to top
View user's profile Send private message Visit poster's website
firasmail2000@yahoo.com



Joined: 26 Sep 2007
Posts: 12

PostPosted: Tue Aug 26, 2008 8:45 pm    Post subject: Modified MATLab GC5016 Filter Design Reply with quote

Hi,


Thank you for the clarifications. It was very important to me. I'm still not sure why the note for freq [= - (fck - desired tuning frequency) ] is not used in the example, so I may need your help again later. Thank you very much again.

Attached is my MATLab m file modifications.


Best Regards,
Back to top
View user's profile Send private message Send e-mail
firasmail2000@yahoo.com



Joined: 26 Sep 2007
Posts: 12

PostPosted: Tue Aug 26, 2008 10:50 pm    Post subject: Reply with quote

Hi,

In GC5016 data sheets page 63, it was mentioned in line 9, "cmd5016 user's guide".

I searched TI web site for such file with no luck. Do you have it? If so, please can you attach it ?

Thank you.

Regards,

Firas
Back to top
View user's profile Send private message Send e-mail
amane



Joined: 17 Apr 2006
Posts: 118
Location: Simi Valley

PostPosted: Fri Aug 29, 2008 12:55 pm    Post subject: Reply with quote

Please see the attached pdf file for GC5016 chip.
Sincerely,

Amit Mane
Innovative Integration Inc.
Simi valley ca 93065
Back to top
View user's profile Send private message Visit poster's website
firasmail2000@yahoo.com



Joined: 26 Sep 2007
Posts: 12

PostPosted: Fri Aug 29, 2008 9:08 pm    Post subject: Reply with quote

Hi,


Suppose we want to use only one DDC channel from the available DR 16 channels (i.e, One Channel from one DDC only), How we can configure the DR card to send this only one channel stream ?.Thank you.

Best Regards,


Firas
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    II Support Forum Index -> DR Digital Receiver PMC module (GMT - 8 Hours)
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum

© Copyright 2006-2012 Innovative Integration
Powered by phpBB © 2001, 2002 phpBB Group
Based on iCGstation v1.0 Template By Ray © 2003, 2004 iOptional