Can you post your actual project, so that we all can have a look at all of your settings? To do so, use
Creator->File->Create Workspace Bundle (minimal)
and attach the resulting file.
Consider filing a CASE on this, and posting back to forum what the resolution
To create a technical or issue case at Cypress -
“Create a Case”
You have to be registered on Cypress web site first.
Does anyone know right off how much time between conversion complete and output register ready to read on the ADC_DelSig.
I'm doing everything per the datasheet using ADC_DelSig_IsConversionEnd(ADC_RETURN_STATUS), however I have had to hack in delays between when the function returns non-zero and actually reading the output register result. If I wait and extra 10uS, the result is invalid, but if I wait an extra 20uS, the result is valid. This is in addition to a one pass through the program's main loop between end of conversion true and reading the output register.
Something is wacky. 20 uS is a lot of compute time, instructions run.
What does your code look like ? Sounds like your test for EOC not being tested
Is test done in an ISR ? If so is it passing a flag out of ISR or
variable ? If so variable should be declared as volatile.
Maybe post the project -
“Create Workspace Bundle”
Hi Nick, you should be able to read output register as soons as "end of conversion (EOC)" triggers. Can you provide your project ?