0

I am looking at the pin-out here: http://www.ti.com/lit/ml/slau536/slau536.pdf and can't find p1.0 and p1.1. Where are they?

The reason (perhaps, stupid) why I started looking for these two pins is because I need to connect RX and TX of a UART somewhere on the launchpad, and p3.3 and p3.4 did not work, and on some loosely related pinouts of other boards such as this: http://energia.nu/Tutorial_DigitalReadSerial.html p1.1 is RXD and p1.2 is TXD (not sure what's the difference between RX and RXD, assuming for now they are the same). So I thought maybe I try these pins and try my luck there? And now I can't find them.

BTW, the pinout shows that p3.3 and p3.4 are UART RX and TX on BoosterPack standard, which I don't have, and on the launchpad these pins are UCA0RXD and UCA0TXT (also, they are apparently UCA0SOMI and UCA0SIMO). I don't know yet what these abbreviations mean, and also, why there are two sets of functions on the same pins and how to switch between them.

My launchpad (in subj) documentation says it supports up to 4 hardware UARTs. Where? And why then is there a UART on booster pack?

Maybe p1.1 and p1.2 are taken for the launchpad's onboard backchannel UART?

4

1 回答 1

2

如果您想知道此板上每个引脚的位置,则应查看用户指南中的示意图。但更重要的是,您应该熟悉板上微控制器的数据表。

您看不到 P1.0 和 P1.1,因为这些引脚没有引出到助推器包接头(连接器)。这些引脚在启动板内用于其他用途。(它们甚至不是您希望的 UART 引脚。)

P3.3 和 P3.4 是您可以通过增强包接头获得的唯一 UART 连接。另一个 UART 在 P4.4 和 P4.5 上,这些引脚没有通过接头引出。因此,您可能应该尝试让 P3.3 和 P3.4 正常工作。您是否为此启动板下载了 TI 的示例软件?可能有一个使用 UART 的示例程序。

P3.3 和 P3.4 与典型微控制器上的许多 GPIO 引脚一样多路复用。这些特定引脚可以配置为 GPIO、UART 或 SPI 端口。SOMI 和 SIMO 是与 SPI 功能相关的缩写。您的代码必须为 UART 功能配置这些引脚。阅读数据表并研究示例软件以了解如何执行此操作。

我不确定你在哪里看到了四个 UART。这个特定启动板上的微控制器有四个串行接口,但其中只有两个接口是为 UART 设计的。其他两个串行接口可以是 SPI 或 I2C。

于 2014-03-15T20:56:48.130 回答