Other Parts Discussed in Thread: MSP430G2452 在TI官方网站下载的msp430g2452这款芯片的例程代码msp430g2x32_adc10_11中,其把TACCR0设置成2048-1,把TACCR1设置成2047,并且定时器输出是set/reset 增计数模式,CCR0跟CCR1同时到达,这么能产生给ADC一个触发信号呢?求解,关键代码如下:
P1DIR |= 0x01; // Set P1.0 output
TACCR0 = 2048-1; // PWM…
Other Parts Discussed in Thread: MSP-GANG , MSP430F6733 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。 https://e2e.ti.com/support/microcontrollers/msp-low-power-microcontrollers-group/msp430/f/msp-low-power-microcontroller-forum/673436/msp430f6733…
Other Parts Discussed in Thread: MSP430G2452 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。 https://e2e.ti.com/support/microcontrollers/msp-low-power-microcontrollers-group/msp430/f/msp-low-power-microcontroller-forum/717907/msp-exp430g2-why…
Other Parts Discussed in Thread: MSP430G2452 help help help
我用的是lunch pad ,msp430g2452的引脚太少,想用它实现显示多位数码管
我看书上用的是74hc169实现的,只用了两个引脚,我按他的程序仿真不出来,
按理说应该显示1234567的,怎么显示的都是88888啊
仿真时我用的是249,求指教啊,怎么修改程序,怎么修改仿真电路啊?
#include<msp430x24x.h> #define ch…
Other Parts Discussed in Thread: MSP430G2452 Hi All,
我使用MSP430G2452将USI配置为SPI进行单向通讯时,一旦发送数据第8位(bit 7)为1,即超过0x80时,SPI的MOSI端会出现下图红色框标注的波形,请问这样是正常的吗?
注:上图中发送的数据为0xA0
以下是我的配置文件。
USICTL0 |=USIPE6+USIPE5+USIMST+USIOE;
USICTL1 |=USICKPH+USIIE;
USICKCTL =US…
Other Parts Discussed in Thread: MSP430G2452 , MSP430G2553 , MSP430FR5739 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。 https://e2e.ti.com/support/microcontrollers/msp-low-power-microcontrollers-group/msp430/f/msp-low-power-microcontroller…
Other Parts Discussed in Thread: MSP430G2452 红外通信的主要注意几个方面:430单片机的时钟配置(我选择内部DCO,为了准确的定时器捕获脉冲)、红外通信协议的数据格式(用户数据是从高到低还是从低到高?)、430单片机的一些寄存器配置。 程序如下: #include "msp430g2452.h"
typedef unsigned int uint;
typedef unsigned char uchar; uint ir_data[33…