请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
主题中讨论的其他部件:MSP430FR5989我正在寻找MSP430FR5989的UART示例
WFP 4.2 / WFP 4.3
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.
我正在寻找MSP430FR5989的UART示例
WFP 4.2 / WFP 4.3
TI示例套件有四个euscia0_UART示例,如下所示:
https://dev.ti.com/tirex/explore/node?node=AJEc6njXOCsbm..jGWdWoQ__IOGqZri__LATEST
他们似乎都使用了WFP 2.0 的UCA0。 若要使用WFP 4.2 /3:您所看到的位置
>P2SEL0 || BIT0 | BIT1;//配置UART引脚
>P2SEL1 &=~(BIT0 | BIT1);
替代
>P4SEL0 |= BIIT2 | BIT3;//配置UART引脚
>P4SEL1 &=~(BI既 又BIT3);
[参考数据表(SLAS789D)表6-26]