Other Parts Discussed in Thread: MSP430I2040
Hello,
We have an old designed product based on MSP430F67791A. Apart from Metering parameter the product has few
special function , decision for which would be based on metering data.The metering code base was TI slaa577g code library.
As per the code and application note SLAA577G ....the Power,Current,Voltage samples are getting updated
or loogged at 1 sec interval in emeter-background.c.
Now Our Customer asking an added feature in same product which requires us to get voltage,Current,Power,PF &
Frequency data within 100msec interval.And we want to complete the add-on feature by using the same existing code base.
I tried following in emeter-structs.h.
#define SAMPLE_RATE 409 // 4096
#define ADC_BITS 16
#define SAMPLES_PER_10_SECONDS 4090 // 40960ul
But it did not work for me.I think ...here SAMPLE_RATE = 409 means 409 samples in 1 sec time interval.And it will not solve my purpose.Correct me if i am wrong.
Can any one pls help in this regard ...what are the changes required (and which files ) in slaa577g code library to get the required metering data in every <100msec.
Thanks & Regards