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.

MSP430FR2475: 串口无任何输出信号

Part Number: MSP430FR2475

Dear FAE,我在使用MSP430FR2475,发现根据库demo配置的串口无法正常输出,用示波器测量无任何信息,

如果配置成普通IO翻转则可以测量到电平变化,说明引脚没坏。外部主晶振32.768K

下面是配置文件:

Fullscreen
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#include "driverlib.h"
//******************************************************************************
//!
//! Empty Project that includes driverlib
//!
//******************************************************************************
void main(void)
{
// stop watchdog
WDT_A_hold(WDT_A_BASE);
GPIO_setAsPeripheralModuleFunctionInputPin(
GPIO_PORT_P2,
GPIO_PIN1 + GPIO_PIN0,
GPIO_PRIMARY_MODULE_FUNCTION
);
//Set external clock frequency to 32.768 KHz
CS_setExternalClockSource(32768);
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX