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.

MSP430FR5989: FlowESI code generated incorrectly: Samplig rate frequency wrong.

Part Number: MSP430FR5989

Hi everyone,

I think I have detected another bug related to the code generated by FlowESI GUI. I think the sampling rate is wrong generated, I have selected a sampling rate frequency of 50 Hz:

But the code generated in the file ../ESIConfig/esiCalibration.c is that:

...

gAFE2Settings = ESI_AFE2_INITPARAMS_DEFAULT;
ESI_AFE2_init(&gAFE2Settings);

gTSMSettings.startTriggerAclkDivider = ESI_TSM_START_TRIGGER_DIV_66;

ESI_TSM_init(&gTSMSettings);

ESI_disableInterrupt(ESI_INTERRUPT_ESISTOP);

}
// DAC Level tester, using Sucessive approx approach
static void AFE2_FindDAC_Fast_Successive(fastParams *fsParam)
{
uint16_t i;
uint16_t dACBit = 0;

...

Therefore, the sampling rate frequency is 32768/66 = 496 Hz.

Mainly, this error affect to the power consumption 9uA vs 3uA.

Would you mind checking that I am right and this is a bug from the FlowESI GUI?

Best regards.

**Attention** This is a public forum