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.

MSPM0G3507: LP-MSPM0G3507

Part Number: MSPM0G3507


Tool/software:

Hello! 

I have a question that is confusing me, and I hope you can help clarify it. What does MEMCTLx mean?

I was able to configure four ADC channels and sample the internal temperature sensor and other inputs. I configured a channel and assigned it to a memory register, for example, MEMRES1 stores the sample data from channel 11. However, I came across the statement, "MEMCTLx is not correlated to MEMRESx," and I'm struggling to understand what this means.

Can you please explain the relationship between MEMCTLx and MEMRESx?

Best regards 

Ali

  • Hi,

    In FIFO mode, you can not assign where the ADC result stores in which MEMRESx register. 

    Assume you are in FIFO mode, a capture sequence of three channels. The ADC result will stores as below image.

    MEMRES0 ADC_ch0
    MEMRES1 ADC_ch1
    MEMRES2 ADC_ch2
    MEMRES3 ADC_ch0
    MEMRES4 ADC_ch1
    MEMRES5 ADC_ch2
    MEMRES6 ADC_ch0
    MEMRES7 ADC_ch1
    MEMRES8 ADC_ch2
    MEMRES9 ADC_ch0
    MEMRES10 ADC_ch1
    MEMRES11 ADC_ch2

    Best regards,

    Cash Hao