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.
Part Number: MSP430FR5989
Hello,I'm testing a device that uses an ESI module to read rotation disk from a watermeter. I'm not the author of the device. We have some problems with losing synchronization between the device and watermeter. I'm trying to investigate what is wrong.I'm using slightly modified version of firmware from TIDM-LC-WATERMTR. Source code: https://ufile.io/ebqpzFirstly, I had problems with the calibration, when Separation_factor was 4 then function Set_DAC completes without any rotation. After I changed factor to 20 I can calibrate DAC. However, in FlowESI there is a comment that specifies that the range should be 4-6 for this factorThe separation factor has an impact to the separation state value that is used by Set_DAC. The formula for separation state uses Noise_level and I think this is main problem.In my scenario the Noise_level has values: 0, 1 or 2. When Noise_level is 0 - Set_DAC completes without rotation. When Noise_level is greater than 0 it looks like everything works - the flow is correctly counted.So my main question is what is the expected value for Noise_level? How wide should the gap be beetwen ESIDAC1R0 and ESIDAC1R1? I observed that gap in reference voltage hysteresis is small (2 or 4). Is it expected value?Here is a dump from registers and variables after calibration: https://pastebin.com/PQyFJVCk
Search E2E! Your questions may already be answered!
TI Cloud Tools MSP Product Page
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 Wojtek Kowalski:
Don't forget to verify answers to your forum questions by using the Verify Answer button.
In reply to Eddie LaCost:
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.