Hello,
I am using a Piccolo x28075 for my application. It involves control loops for which I am hoping to use the CLA.
I need to directly access the ADC RESULTS Register to get the ADC values. I read this value within my CLA task code (which I have written in C). I read this in this way
UInt16Variable = AdcaResultRegs.ADCRESULT0;
I have placed an _mdebug and on comparing the ADCRESULT0 value and the UInt16Variable I see that they are very different. (I have placed the _mdebug after many statements so no issue of pipelining)
How do I make sure that the CLA is able to properly access the ADCRESULTS0 register ? I have not included the "F28x_Project.h" in the .cla file. Instead I have included the "F2807x_adc.h" for accessing the ADC registers.
Any ideas?
Mathew JM