Quantcast
Viewing all articles
Browse latest Browse all 63758

Forum Post: MSP430FR5994: LEASC busy?

I've been using the MSP430FR5994 to construct a primitive spectrum analyzer around msp_cmplx_fft_auto_q15() . I'm using the FR5994 Launchpad, the K350 LCD Booster Pack, CCS 6.1.3, and DSPLib 1_10_00_10. After running the FFT maybe 20 times, the function fails with MSP_LEASC_BUSY, even though I have no reason to expect it to be busy. This symptom is quite repeatable, though I'm not sure it's exactly the same number of rounds each time. I'm also running TIMERA0 with a interrupt, so I changed the GIE sequence from __bis_SR_register(GIE+LPM0_bits); to do {__bis_SR_register(GIE+LPM0_bits); } while (LEASCCNF1 & LEASCBUSY); So it really seems the LEASC should be idle when I come back to it later. When the failure happens, the captured LEASCCNF1 in R15 shows 0xC141, though by the time I get in with the debugger it appears as 0x2f010. I'm not surprised to see the LEASCBUSY bit (0x0001) switching off in the meantime, but I'm somewhat surprised to see the register change that much when it should be idle. That said: Since none of this is described in the UG, I don't really know what any of these symptoms are telling me. Is there some way for the LEASC to go from idle to busy spontaneously? Or do these symptoms mean something else?

Viewing all articles
Browse latest Browse all 63758

Trending Articles



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