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.

MSP430F67751A: MSP430F67751A DMA Problem

Part Number: MSP430F67751A

Hello everyone,

I am using MSP430F67751A microcontroller. The memory usage is nearly full. While operating, It writes some ADC values to memory and I see wrong values at the DMA side. When I hard reset my device it fixes.

Thanks for your help.

  • Can you show your DMA and ADC configurations?

    Also, if you can show a few of the wrong values, there might be a clue there. 

    With memory (RAM) very close to full, you should watch out for stack overflow. Try increasing the stack size as large as you can manage (the linker will tell you if you go too far).

    It looks like the TI Examples suite has 5x examples which use the ADC with the DMA. Maybe it's useful to compare with what you're doing:

    https://dev.ti.com/tirex/explore/node?node=AAit.IvCJweW7T3s4gVsqw__IOGqZri__LATEST

  • Thanks for your help,

    RAM usage is nearly %96 and free space is only 557 bytes. It makes sense. I'll try increasing the stack size this can resolve this issue as you said.

    Wrong values are not like 0xFFFF. For example temperature measurement results are shown as 150 C after long time use. When I hard reset device, temperature shown as normally 25 C . 

    Here I am adding my ADC and DMA init configurations.

  • After you change the stack size the problem is solved?

    Sorry, I have a question that I think only when you use interrupt in your software, then you will meet the stack size problem. Is it right?

**Attention** This is a public forum