Tool/software:
Hello everyone,
I’m currently using the EVM430F6779 evaluation board as part of my undergraduate thesis project, where I need to measure voltage and current up to the 50th harmonic. To achieve this, I understand that I need a minimum sampling frequency of around 6000 samples per second — and ideally, I’d like to push it even higher to get the best possible measurement resolution.
The problem is that I’m not sure which parts of the code or configuration I need to modify in order to reach that sampling rate. I’ve been exploring files like emeter-setup.c and emeter-structs.h, and I believe that I may need to adjust settings such as the oversampling ratio (OSR), the SD24_B module configuration, or the sampling rate definitions. However, I’m not confident about which parameters specifically control the final sampling rate, or how to properly tune them without breaking the rest of the metrology functions.
Could someone guide me through the correct steps or best practices to increase the sampling rate to at least 6000 S/s (or higher, if possible) on the MSP430F6779 platform? Any advice on which registers, defines, or sections of code I should focus on would be greatly appreciated.
Thank you very much in advance for your help!
— Juan Arboleda
