MSP430FR6043: SDHS ADC Sample Results

Part Number: MSP430FR6043

Tool/software:

We are inputting a 100kHz sin wave from 800mV to 1V and trying to see the resulting output from the ADC. For some reason, we can get a clean output very rarely, and even then the frequency does not match. What could be the problem? The figure on the left is how it looks usually and in the following figures there is a short burst of a clean output.

  • This noise is abnormal.

    It's better to keep PGA input within a ideal range:

    such as 300 ~ 700mV

  • Thank you for the response! We applied a 100kHz sin wave from 400mV to 600mV and we got a similarly noisy result. The register level SDHS example code for the MSP430FR6043 stated that the valid input range was 600mV to 1.2 V, how did they arrive at that input range? We are still unsure what is causing the noise. The frequency of the output also seems to be slightly off as well. For the python script we are using to plot the results, we set the sampling frequency as 8 MHz because of the 8 Msps output for the SDHS, is this correct? The code we have currently for the SDHS ADC is attached to this reply.

    Fullscreen
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    /* --COPYRIGHT--,BSD
    * Copyright (c) 2017, Texas Instruments Incorporated
    * All rights reserved.
    *
    * Redistribution and use in source and binary forms, with or without
    * modification, are permitted provided that the following conditions
    * are met:
    *
    * * Redistributions of source code must retain the above copyright
    * notice, this list of conditions and the following disclaimer.
    *
    * * Redistributions in binary form must reproduce the above copyright
    * notice, this list of conditions and the following disclaimer in the
    * documentation and/or other materials provided with the distribution.
    *
    * * Neither the name of Texas Instruments Incorporated nor the names of
    * its contributors may be used to endorse or promote products derived
    * from this software without specific prior written permission.
    *
    * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
    * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

**Attention** This is a public forum