Quantcast
Channel: MSP low-power microcontroller forum - Recent Threads
Viewing all articles
Browse latest Browse all 22429

MSP430FR2433: possible/how to prime/warm up UART module to get it ready for transmission upon exit from low power mode?

$
0
0
Part Number: MSP430FR2433

Tool/software:

Hi,

We have built a sensor around MSP430FR2433. The routine consists of the following steps: 1) System wakes up upon GPIO interrupt; 2) System performs certain measurement related operation, the process takes about several tens to several hundred micro-seconds; 3) System output measurement results via UART after step 2) is complete.

The problem is once in a while the output from step 3) is gibberish/corrupted, adding an arbitrary delay of 100us after step 2) seems able to reduce the frequency when gibberish happens but doesn't completely eliminate gibberish output when deployed in field for long term operation. Alternatively if we wake system via a AT command through UART in step 1) instead of GPIO interrupt, we never observed gibberish output over the course of years of operation.

From the discussion in related thread, the problem seems originated from the fact that SMCLK as clock source of UART needs time to stabilize. I was hoping we can use REFO/ACLK as clock source to avoid such problem. Unfortunately, to my surprise, ACLK cannot be used as clock source on MSP430FR2433.

So my question is, is it possible to somehow prime UART module from step 1)/GPIO ISR? so we don't have to add additional delays after step 2) otherwise it will start to degrade battery life.

Thanks,

ZL


Viewing all articles
Browse latest Browse all 22429

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>