Other Parts Discussed in Thread: MSP430FR5992
使用芯片型号为MSP430FR5992,程序主频为21M左右(内部的DOC),辅助时钟为外部的12M,低频为外部的32.768k。
程序中的中断有:定时器(1ms的周期),IO中断(频率为950hz,采集陀螺数据),DMA中断(获取AD采样值,20ms中断7次),串口收发中断(发送频率可设,接收频率不定,取决于用户操作)。
现在的问题是,产品的波特率范围比较宽300-115200.当波特率大于38400时…
Other Parts Discussed in Thread: MSP-DSPLIB , MSP430FR5992 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。 https://e2e.ti.com/support/microcontrollers/msp-low-power-microcontrollers-group/msp430/f/msp-low-power-microcontroller-forum/716353/msp430fr5992…
Other Parts Discussed in Thread: MSP430FR5992 最近在使用fr5992时,需要用到1200的波特率,根据文档设置完以后,发现串口接收不到任何数据,但是用官方的例程可以,说明硬件没有问题,不清楚哪里设置出了问题,源码如下,
#include <msp430fr5992.h>
char RecvBuf[20] = {0}; int dataLen = 0; int main( void ) { // Stop watchdog timer to prevent…
Other Parts Discussed in Thread: MSP430FR5992 , ENERGYTRACE MSP430FR5992低功耗模式
除了__bis_SR_register(LPM3_bits | GIE); // Enter LPM3, enable interrupts
还需要设置一些其他的寄存器操作么,实测板子上电后进入LPM3模式后功耗70uA,擦除芯片18uA;