嗨,普里扬卡,
在全双工或半双工模式下使用UART吗?
1)您需要将PSoC的TX连接到ARDUNO的RX和PSOC的RX到ARDUNO的TX。
2)接地引脚(Db9连接器的引脚5)应连接到ARDUINO板的接地。
3)确保两个收发信机的波特率是相同的(如9600, 19200等)。
4)您可以通过与PSoC Creator一起出货的UART示例项目的实验来开始。在组件目录中右击UART组件并选择“查找示例项目”。您可以根据您与ARDUNO接口的要求修改示例项目。
以上来自于百度翻译
以下为原文
Hi
PRIYANKA,
Are you using UART in Full Duplex or Half Duplex mode?
1) You need to connect the Tx of PSoC to Rx of Arduino and Rx of PSoC to Tx of Arduino.
2) The ground pin (Pin 5 of DB9 connector) should be connected to the ground of Arduino board.
3) Make sure that the baud rate of both the transceivers are the same (eg 9600, 19200, etc).
4) You can get started by experimenting with the UART example project shipped along with PSoC Creator. In the Component Catalog right-click on the UART Component and select "Find Example Project". You can modify the example project according to your requirement for interfacing with Arduino.
嗨,普里扬卡,
在全双工或半双工模式下使用UART吗?
1)您需要将PSoC的TX连接到ARDUNO的RX和PSOC的RX到ARDUNO的TX。
2)接地引脚(Db9连接器的引脚5)应连接到ARDUINO板的接地。
3)确保两个收发信机的波特率是相同的(如9600, 19200等)。
4)您可以通过与PSoC Creator一起出货的UART示例项目的实验来开始。在组件目录中右击UART组件并选择“查找示例项目”。您可以根据您与ARDUNO接口的要求修改示例项目。
以上来自于百度翻译
以下为原文
Hi
PRIYANKA,
Are you using UART in Full Duplex or Half Duplex mode?
1) You need to connect the Tx of PSoC to Rx of Arduino and Rx of PSoC to Tx of Arduino.
2) The ground pin (Pin 5 of DB9 connector) should be connected to the ground of Arduino board.
3) Make sure that the baud rate of both the transceivers are the same (eg 9600, 19200, etc).
4) You can get started by experimenting with the UART example project shipped along with PSoC Creator. In the Component Catalog right-click on the UART Component and select "Find Example Project". You can modify the example project according to your requirement for interfacing with Arduino.
举报