Strictly necessary cookies are on by default and cannot be turned off. Functional, Performance and Tracking/targeting/sharing cookies can be turned on below based on your preferences (this banner will remain available for you to accept cookies). You may change your cookie settings by deleting cookies from your browser. Then this banner will appear again. You can learn more details about cookies HERE.
Strictly necessary (always on)
Functional, Performance and Tracking/targeting/sharing (default off)
This is a continuation of this thread: http://www.cypros.org/?app=forum&id=0&rID=89110 I was able to find an alternative means to work around the problem, but I have again run into this issue. I've tried all the suggestions in the thread, and nothing has worked. There seems to be confusion that I am getting faulty values... that isn't the issue. The issue is when using the ADC to read values after calling ADC_SelectConfiguration(), no values are returned *at all*. It actually gets caught up in the ADC_IsEndConversion(uint8 retMode) function in the ADC.c file. The ADC_DEC_SR_REG register never gets set to 1, and so, the function blocks until I quit the program. It works fine if I never call SelectConfiguration.
Can anyone help me figure out what's going on? I haven't been able to find this issue anywhere else on the forum.