完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
我使用CyACIT-00 PSoC开发工具包…为了检查UARtis是否运行,我尝试将ARDUINO RX TX直接连接到TX RX的工具包,甚至地面保持共同仍然没有沟通两者。什么是可能的错误…尽快答复
以上来自于百度翻译 以下为原文 I am using CYACKIT-00 PSOC development kit... and to check whether UART is functioning or not i tried connecting arduino Rx-Tx directly to Tx-Rx of kit and even the ground are kept common still there is no communication between the two.. what could be the possible error... reply ASAP..thnks |
|
相关推荐
13个回答
|
|
也用DSO我检查了WHTR TX正在传输任何…..但是我的CNT C NY波形显示在DSO上,这意味着PIN IM编程作为发射机没有被配置为TX正确..所以WHR我应该做的变化…?
以上来自于百度翻译 以下为原文 also with DSO i checked whthr TX is trannsmitting anythning..but i cnt c ny waveform displayed on DSO that mean the pin i m programmin as transmitter is not configured as TX properly..so whr all should i make the changes..? |
|
|
|
嗨,普里扬卡,
在全双工或半双工模式下使用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. |
|
|
|
普里扬卡
以下是一些可以帮助你缩小错误的问题: 1)假设你使用的是cy8ckit-001工具包,你直接使用的端口引脚(TTL)或使用RS232电平(利用车载MAX232和DB9)通信?如果您使用的是RS232,然后跳线J10(rs232_pwr)目前接近DB9连接器应关闭。 2)引脚是否设置为正确的驱动模式?TX应该是一个数字输出引脚与“强驱动”模式。Rx Pin应与“高阻抗数字”模式的数字输入引脚。 以上来自于百度翻译 以下为原文 PRIYANKA, Here are some of the questions which will help you narrow down on the error: 1) Assuming that you are using CY8CKIT-001 kit, are you using the port pins directly (TTL Logic) or using the RS232 voltage level (utilizing the on-board MAX232 and DB9) for communication? If you are using RS232, then the jumper J10 (RS232_PWR) present close to the DB9 connector should be closed. 2) Are the pins set to the right drive modes? The Tx Pin should be a Digital Output pin with a "Strong Drive" mode. Rx Pin should be a Digital Input pin with "High Impedance Digital" mode. |
|
|
|
你好。。我们不使用任何电压转换器(Max 23)。我们直接连接RS232 PSoC到GSMmodule的RS232。
以上来自于百度翻译 以下为原文 hi.. we r not using any voltage converter(MAX232). We r directly connecting RS232 PSOC to RS232 of GSM module.. |
|
|
|
嗨,普里扬卡,
创建了一个用于将PSoC 3/5与GSM调制解调器接口的项目。可以在以下论坛主题中找到: HTTP://www. CyPress?COM/?APP =论坛和ID ID=2232和;RID=52896 从您的声明中可以理解的是,您使用的是PCOS3套件上的D9连接器,而在这个接口上的GSM调制解调器上存在着D9连接器。 对于PC,D9连接器(男性)具有以下引脚: 引脚2 =接收器 引脚3 =发送器 引脚5=接地。 但是其他开发板(包括PSoC开发套件和GSM调制解调器)将具有反向和RX和Tx引脚,即PIN 2=发射机和PIN 3=接收器。 所以,如果你想将GSM与PSoC开发板进行接口,你将以交叉交叉的方式连接TX和RX。您可以得到具有这种配置的UART电缆或使用2 + 1电缆建立一个并反转连接(RX-GT;Tx和Tx -GT;RX)。 以上来自于百度翻译 以下为原文 Hi PRIYANKA, A project was created for Interfacing PSoC 3/5 with GSM Modem. It can be found in the following forum topic: http://www.cypress.com/?app=forum&id=2232&rID=52896 What I understand from your statement is that you are using DB9 connector present on PSoC3 kit and the DB9 connector present on the GSM Modem for this interface. For a PC, the DB9 connector (male) has the following pinout: Pin 2 = Receiver Pin 3 = Transmitter Pin 5 = Ground. But other development boards (including PSoC development kit and GSM Modem) will have the Rx and Tx pins in reverse order, that is, Pin 2 = Transmitter and Pin 3 = Receiver. So, if you want to interface GSM with PSoC development board, you'll ned to connect Tx and Rx in criss-cross fashion. You can get UART cable which has this configuration or build one using a 2+1 cable and inverting the connection (Rx --> Tx and Tx --> Rx). |
|
|
|
尽量不要连接任何东西,只需使用PSoC板,并通过UART在一个循环中发送类似0xAA的东西。看看你能否从UART输出引脚获得任何波形。
以上来自于百度翻译 以下为原文 Try not to connect to any thing, just with the Psoc board, and sent something like 0xAA via the uart in a loop. See if you can get any waveform from the UART output pin first. |
|
|
|
我碰巧在现场,现在问题已经纠正了(这是一个驱动模式问题)。
以上来自于百度翻译 以下为原文 I happened to be on-site and the problem is now rectified.(it was a drive mode issue) |
|
|
|
|
|
|
|
|
|
|
|
再来一次…我尝试通过UART I/F通信两个PSoC工具包。一个是传输,另一个是接收。但是在接收机PSoC LCD中,它的NT读取TX发送的字符,而不是显示在上边DWU U中…这个SM PROB重新设置了吗????
以上来自于百度翻译 以下为原文 one more prob... i tried communicatin two psoc kits thru UART i/f... one is transmittin and the other is receivin.. but in receiver PSOC lcd , its nt reading the character sent by TX but rather displayin upside dwn U ... is this sm prob in setting again..??? |
|
|
|
普里扬卡
1)你能告诉我们更多关于你使用的UART的配置吗? 2)你使用的RX缓冲区大小是多少?如果接收缓冲区的大小是超过4,然后“接收字节接收“启用默认的中断会在接收一个字节发生。 使全局中断的主要代码中的注释cyglobalintenable使ISR将执行。 3)必须注意这两个装置的供电。确保接收器的PSoC是发射机的PSoC开始传输之前初始化。 以上来自于百度翻译 以下为原文 PRIYANKA, 1) Can you please tell us more about the configuration of UART you are using? 2) What is the Rx Buffer size you are using? If the Rx Buffer size is more than 4, then "Rx On Byte Receive" is enabled on default and Interrupt will occur upon receiving a byte. Enable the Global Interrupt by uncommenting the CyGlobalIntEnable in the main code so that the ISR will be executed. 3) Powering of both the device has to be taken care of. Make sure that the Receiver PSoC is initialized before the transmitter PSoC starts transmitting. |
|
|
|
普里扬卡
几件事: 1、请升级到最新版本(1 SP2今天可用)。(你可以从我这里收集,而不是下载它) 2、我已经抛出了一些代码,对于基本的UARTX,有一个中断例程来处理这些数据,请执行它。这个代码没有问题。 你可能陷入的陷阱: -禁用地址模式:将其设置为“无”。(我们不做485) 清除中断:调用UARTHAREADRXSTATUS();清除中断 无论如何,检查附加的代码。 以上来自于百度翻译 以下为原文 Priyanka, A couple of things: 1.Please upgrade to the latest version(1.0 SP2 as of today) available.(You can collect it from me,rather than downloading it) 2.I have thrown together some code,for basic UART Rx with an Interrupt Routine to handle that data,do go through it.This code works with no issues. Possible pitfalls that youre stuck in: -Disable Address mode : Set that to None.(we're not doing 485) -Clearing Interrupt : Use a call to UART_ReadRxStatus(); to clear the interrupt Anyway,check out the attached code. |
|
|
|
不知道为什么我永远不能附上文档。请在GMmail的KMMANKAD上给我发一封电子邮件。
以上来自于百度翻译 以下为原文 No idea why I'm never able to attach docs.Drop me an email at kmmankad at gmail for the code. |
|
|
|
只有小组成员才能发言,加入小组>>
752个成员聚集在这个小组
加入小组2070 浏览 1 评论
1826 浏览 1 评论
3639 浏览 1 评论
请问可以直接使用来自FX2LP固件的端点向主机FIFO写入数据吗?
1761 浏览 6 评论
1513 浏览 1 评论
CY8C4025LQI在程序中调用函数,通过示波器观察SCL引脚波形,无法将pin0.4(SCL)下拉是什么原因导致?
510浏览 2评论
CYUSB3065焊接到USB3.0 TYPE-B口的焊接触点就无法使用是什么原因导致的?
360浏览 2评论
CX3连接Camera修改分辨率之后,播放器无法播出camera的画面怎么解决?
410浏览 2评论
357浏览 2评论
使用stm32+cyw43438 wifi驱动whd,WHD驱动固件加载失败的原因?
857浏览 2评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-11-24 00:43 , Processed in 1.194236 second(s), Total 100, Slave 83 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号