Hi ,
I want to read the adc data in the cla task but i am not able to see any data whicle debugging the cla task. Can you please help me to read the data of adc in cla task/
currently what i am doing
#pragma DATA_SECTION(Adc_A0Data,"Cla1ToCpuMsgRAM");
uint16_t AdcA0_Data[ADC_BUF_LEN];
#pragma DATA_SECTION(Adc_A1Data,"Cla1ToCpuMsgRAM");
uint16_t AdcA1_Data[ADC_BUF_LEN];
#pragma DATA_SECTION(buffCount,"Cla1ToCpuMsgRAM");
uint16_t buffCount=0;
__interrupt void Cla1Task1 ( void )
{
uint16_t count = 0;
uint16_t AdcBuf[13];
__mdebugstop();
AdcA0_Data[buffCount] = AdcaResultRegs.ADCRESULT0;
AdcA1_Data[buffCount] = AdcaResultRegs.ADCRESULT1;
buffCount++;
__mdebugstop();
}
but no data is captured from adc. kindly help.