本人接触MSP430不久,正在做一个低功耗的采集模块,想工作于LPM3模式下,因要操作flash必须用8M晶振,就想在电路上省掉32768HZ晶振,全部都用8M分频,经程序测试如果MCLK和SMCLK都关闭时,串口接收中断无法唤醒,所以请教LPM3模式下如果不用ACLK,串口接收中断就不能使用,必须串口时钟工作才能进入中断?
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.
本人接触MSP430不久,正在做一个低功耗的采集模块,想工作于LPM3模式下,因要操作flash必须用8M晶振,就想在电路上省掉32768HZ晶振,全部都用8M分频,经程序测试如果MCLK和SMCLK都关闭时,串口接收中断无法唤醒,所以请教LPM3模式下如果不用ACLK,串口接收中断就不能使用,必须串口时钟工作才能进入中断?
yun li4 说:因要操作flash必须用8M晶振
I do not understand why Flash operation needs 8 MHz crystal.
yun li4 说:请教LPM3模式下如果不用ACLK,串口接收中断就不能使用,必须串口时钟工作才能进入中断?
LPM3 simply means stop MCLK and CPU, stop SMCLK and things that depend on SMCLK. Serial port needs either ACLK or SMCLK to function. If you do not have either ACLK or SMCLK, Serial port cannot function. If it cannot function, it cannot generate interrupts.
Over all speaking, I do not understand why you chose MSP430F149. There are other chips that may be better for the job.
yun li4 说:操作flash需要257K~476K
That means +/- 30% is accurate enough. Very easy to do with DCO. For example, if SMCLK is from DCO set to between 600 and 900 kHz, Use FN=1 to divide by (1+1)=2 will result in a fFTG of between 300 and 450 kHz, well within the the acceptable range.
Using DCO for Flash operation has the additional advantage of being safer. Because no external component (such as a finicky crystal), is used, DCO is less likely to stop or fail.
A watch crystal at XT1 can be used to improve the accuracy of by software FLL. Other MSP430 chips may have hardware FLL. MSP430FRxxxx chips have factory Laser trimmed DCO.