- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Observation:
- RESAx registers display random values
- RESMx registers remain 0
- EVFLAG register displays 1's for RESEVx /ALEVx
Questions:
- What are the reasons for random content and possible Solution?
- What are the reasons for RESMx remaining 0? Corresponding GLOBRC channels/Modulators were set to run
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
g_resultEDSADC = IfxEdsadc_Edsadc_getMainResult(&g_edsadcChannel);
Please refer to EDSADC_1_KIT_TC375_LK in ADS, after initialize setting correctly, above funtion is called for getting result. RESM register contains the result as below.
return edsadc->CH[channel].RESM.B.RESULTLO;
If result or alarm generated, RESEV/ALEV will be set 1 as below
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
thanks, my question is more general - apart of sample. What is the reason for RESM providing random values? Which checkpoints i can put to locate reason & resolve?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
First start from the demo code, if your application is changed too much from that, please try to bypass(disable) filters to simplify the process.
dw