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.

MSP430FR50431: MSP430FR50431 - template code

Part Number: MSP430FR50431

Hi, 

Following our conversations -
Today we burned the template code of 6047 on our card that contains the msp50431, we changed the target in the build setting so that the cmd file changed for 50431.
In this case we got a good ADC, and correct water readings.

When we burned the template code of 6043 on our card that contains the msp50431 we changed the target in the build setting so that the cmd file changed for 50431.
In this case we got a bad ADC and correspondingly bad water readings.

Why is this happening?
Could it be that the template code of 6043 is set to gas and therefore the ADC is not good?
I note that this is a clean file from your website, and I only entered that they both have USS_config.h
so that there are no differences in the configuration.

  • Hi Ido,

    It is possible that the template example for the FR6043 is using some gas metering settings that need to be updated.

    The template example for the FR6047 should only be configured for water metering as that device is not capable of gas metering. So that example is definitely configured for water only when you import it.

    If you are seeing success on that example, after working for a while on the 6043 example with no success, then I do not see any problem with switching. Please do make sure you keep track of the memory footprint of your program, as the 6047 has more memory than the 6043 and 5043. This can be viewed easily by using the memory allocation tool that I've mentioned to you in previous posts.

  • Hi,

    ok, but you still don't know the difference between the template code of 6047 and 6043?
    Could you ask your colleagues what made the ADC there completely different?

**Attention** This is a public forum