Hi All
My program fails at ADCBuf_convert() function by returning ADCBuf_STATUS_ERROR (-1) code
how can I debug this issue?
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi All
My program fails at ADCBuf_convert() function by returning ADCBuf_STATUS_ERROR (-1) code
how can I debug this issue?
You can set a breakpoint in the ADCBufCC26XX_convert function in the <tirtos_cc13xx_cc26xx_install_dir>\products\tidrivers_cc13xx_cc26xx_<ver>packages\ti\drivers\adcbuf\ADCBufCC26XX.c file. If the optimization is making it too hard to step through. You can include this file into your project and rebuild. Then you should be able to step through the code more easily.
Todd