Other Parts Discussed in Thread: MSP430FR5989
Hi Everyone,
I am developing an AMR project using ESI and I am using MSP430FR5989. I have adapted the code from FlowESI GUI's code generator tool. I am facing some issues regarding the ESI interface.
The issues are mentioned below:
1) DAC value setting always waits for the rotation of the disc, is there a workaround to bypass this requirement?
2) Initial ESI calibration is taking long time and is not stable, is there a better mechanism available?
3) The number of pulses per rotation of the meter wheel is found to be different every time we test. i.e. sometimes its 4 interrupts per turn,
sometimes its 2 and on rare occasions its 6
i am looking for a functionality where I can calibrate the AMR device one time and then i can attach AMR device to other meters for testing.
I have attached ESI config and calibration files for reference. I have tried adding DAC and noise values from our experiments but
the sensing does not seem to work.
Attachment details:
- esiCalibration.c - contains the calibration logic for ESI interface
- esiConfig.c - contains the PSM and TSM and configuration logic for ESI
- esiCalibration contains 3 functions which have values needed for DAC, noise and recalibration respectively,
They are initialSetDAC( ), initialNoiseLevel( ), initialReCalibration( ).
Any help is appreciated.
- Lovelesh