Part Number: CC1352P
Tool/software: Code Composer Studio
I'm using multiple ADC channels. one of them is used by the Sensor controller.
Randomly when using ADC measurement from both sides (MCU and SC, note: HW semaphore is used to determine which is the current controller and work great), I get HW reset.
after investigation of this issue, I'm noticed that the function 'ADCBufCC26X2_swiFxn' in 'ADCBufCC26X2_open' randomly set the 'object->activeSamplebuffer' from normal address to 0XFFFFFFF and then we got assertion.
Out of office, back June 20th
We are glad that we were able to resolve this issue, and will now proceed to close this thread.
If you have further questions related to this thread, you may click "Ask a related question" below. The newly created question will be automatically linked to this question.
In reply to M-W:
In reply to moshe genish:
In reply to Aviv Agam:
This sounds strange, in that case I would assume you are actually not having the exclusive access to the ADC that you assume you have.
I can see that you don't check the return value of the "ADCBufCC26X2_CMD_ACQUIRE_ADC_SEMAPHORE" call, could you do this and make sure that you are actually successful in acquiring the ADC semaphore before proceeding?
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.