Hi Estephania,
Thanks for your reply.
I'm using heart_rate_sensor freertos example.
adc_basic example also has the same setting as I configured.
My configuration is as shown in the pic below:

When I apply an analog signal at GPIOA8 (PA08), the output I get is 29700. It's a constant output. Expected output should not be a constant value.
My ADC configuration in board.c file is as follows:
adc_config_t adcConfigStruct;
adc_sd_config_t adcSdConfigStruct;
/* Power on ADC */
POWER_EnableADC(true);
/**
* Initial ADC to default configuration.
*/
ADC_GetDefaultConfig(&adcConfigStruct);
adcConfigStruct.channelEnable = (1U << 4);
adcConfigStruct.channelConfig = (0 << 4);
adcConfigStruct.dataFormat = kADC_ForceUnsigned;
ADC_Init(ADC, &adcConfigStruct);
/* Initial ADC Sigma Delta(SD) configuration */
ADC_GetSdDefaultConfig(&adcSdConfigStruct);
adcSdConfigStruct.refGain = kADC_RefGain1;
ADC_SetSdConfig(ADC, ADC_CFG_IDX, &adcSdConfigStruct);
/* Bandgap voltage */
mAdcBandgap = ADC_GetBandgapCalibrationResult(ADC, ADC_CFG_IDX);
/* Calibration VINN value */
mAdcVinn = ADC_GetVinnCalibrationResult(ADC, &adcConfigStruct);
ADC_PgaChopperEnable(ADC, true);
//ADC_EnableBatteryMonitor(true);
/* Enable ADC */
ADC_Enable(ADC, true);