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.

msp430fr5721串口1发送数据问题

Other Parts Discussed in Thread: MSP430FR5721

现在用的一款msp430fr5721在使用的过程中发现串口1不能发送数据,同样的配置给串口UART0就没问题。具体配置过程如下:

9600bps

1,p2.5,2.6首先配置为第二功能外围模块功能。

UCSWRST位为1时配置如下寄存器:

2,时钟源选择ACLK=32768.

3, UCAxBRW = 3;

4,UCAxMCTLW = 0X9200;

5,无校验,LSBfirst,1位停止位,uart模式:UCMODEx:00;

6, UCSWRST位清零。

7,循环判断UCTXIFG标志,为1送数到UCAxTXBUF0则等待。

以上是我的整个操作过程,请帮我看下哪里有问题。我用的是CCS V5_5库函数操作的方法。

用寄存器操作的调通了,用库函数调不通