This Question is Assumed Answered

1 "correct" answer available (4 pts) 2 "helpful" answers available (2 pts)
1 Replies Last post: Nov 9, 2009 3:08 PM by BrettG  
alan wright Member 1 posts since
Nov 3, 2009
Currently Being Moderated

Nov 3, 2009 11:09 AM

Problem with exported data not containing references to modules

Hello,

 

I am implementing a project using the ADAU1761 SigmaDSP and have a couple of questions regarding it.

 

1.

I have a DSP readback in my project and when it all works fine in the project after comiplation and download but when i export the project there is no reference to the DSP readback device at all in the exported files specifically the PARAM.h where address information about the modules are stored.

 

When developing using the 1701 SigmaDSP containing a DSP readback the exported files contain a reference to the readback control.

 

if anyone can help with getting the ADAU1761 project to export the readback information it would be very much appreciated.

 

 

2.

This may not be a problem but when i use a Value Hold module in a 1701 and 1761SigmaDSP project there is no reference to it in the exported files.  I was wondering if i could read directly from the hold register of the module but there is no reference to it anywhere.  I presume that the data is not stored in the parameter RAM but elsewhere. 

 

if anyone could pointout if its possible to read the a Value Hold value that would help me a lot.

 

many thanks for any help

 

Alan

BrettG Analog Employee   78 posts since
Jul 23, 2009
Currently Being Moderated
1. Nov 9, 2009 3:08 PM in response to: alan wright
Re: Problem with exported data not containing references to modules

Hello Alan,

 

I apologize for the long response time.

First of all, please make sure you're updated to the latest version of SigmaStudio from our download page.

 

1. I am actually seeing references to the readback cell in the parameter map, but not the generated header files. I have attached a project file. Please try compiling it and downloading to your hardware, then export the system files to see if you get the same result.

 

In ParamAddress.dat, I see:

 

NonModRamAlloc    0
dataLoadStart_SafeLoad    1
dataLoad1_SafeLoad    2
dataLoad2_SafeLoad    3
dataLoad3_SafeLoad    4
dataLoadEnd_SafeLoad    5
addressLoad_SafeLoad    6
numLoad_SafeLoad    7
MonoRunAvgDetectAlg1RMS_1    8
MonoRunAvgDetectAlg1hold_1    9
MonoRunAvgDetectAlg1decay_1    10
ReadBackAlgSigma2001_2    11

 

In Param.h, I do not see a reference to the readback cell. This is a problem. I will report this to the software team.

 

2. The value hold cell does not have any user-configurable parameters that are stored in parameter RAM. This is why it has no references in the output files. In order to read back the values of the input or output pins (stored in data RAM), insert a DSP readback cell in the appropriate spot, which will assign it a spot in parameter RAM that you can read back directly.

More Like This

  • Retrieving data ...