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.

[参考译文] MSP430FR2422:在端口2中配置 UART

Guru**** 2383140 points
Other Parts Discussed in Thread: MSP430FR2422
请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/microcontrollers/msp-low-power-microcontrollers-group/msp430/f/msp-low-power-microcontroller-forum/961907/msp430fr2422-configuring-uart-in-port-2

器件型号:MSP430FR2422

大家好、

代表我们的客户发布。 他们目前在将 MSP430FR2422的端口2配置为 UART 方面遇到问题。 下面是他们的查询的完整记录:

我将 P2SEL0 (bis.b ##BIT0+BIT1、&P2SEL0)设置为任何发生的情况、CLR P2SEL1 -引脚 P2.0上无任何信号。 如果我设置 bis.b #BIT4+BIT5、和 P1SEL0 -我在引脚 P1.4上看到我发送到 UART 的信号、示波器也是如此。 当我将 P2配置为 OUT (以及 CLR P2SEL1和 P2SEL0)并发送数字信号时-我通过示波器看到该信号。 因此、P2单独工作、UART 单独工作、但它们不能协同工作。 我们如何才能使这项工作发挥作用?

提前感谢!


调校、

Jejomar

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    要在 P2上使用 UCA0、请设置"SYSCFG3 |= USCIARMP;"[参考数据表(SLASEE5C)表6-11]