Hello Eyeow,
I think is some error in the generate code of PE.
For the function of "AD1_GetMeasurementCompleteStatus()":
bool AD1_GetMeasurementCompleteStatus(LDD_TDeviceData *DeviceDataPtr)
{
uint8_t Status;
AD1_TDeviceDataPtr DeviceDataPrv = (AD1_TDeviceDataPtr)DeviceDataPtr;
Status = DeviceDataPrv->CompleteStatus;
DeviceDataPrv->CompleteStatus = FALSE;
return (bool)((Status)? TRUE : FALSE);
}
it have not really check the Conversion Complete Flag ADC_SCA -> COCO .
In fact , you can check this flag have been set to "1" :

So the workaround is change this function , to check the flag of COCO . The detail code please refer to the generated code of KL or K series .
For example create a project about MKL25, then add ADC_LDD component , check the function of "AD1_GetMeasurementCompleteStatus()":

Also the function of "AD1_GetMeasuredValues" .
Hope it helps
Have a great day,
Alice Yang
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------