完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
你好,
我想知道如何将数据从一个PSoC 4模块串行传输到另一个PSoC 4模块。PSOC 4模块都是CY8CKIT4248LQI-BL58. 我读到,我们可以通过两个设备来连接两个设备,一个是中央的,另一个是外围的。 所以,我的问题是如何通过这个BLE连接发送串行数据。 我想创建一个应用程序,这样当我按下第一个板上的一个按钮时,信号就被串行传输到另一个板上(我们可以看到,数据通过显示消息在第二个板的COM端口上接收),而第二个板上的LED何时闪烁。吨压在第一板上。 请提供方法和样品程序,如果有的话。 提前感谢。 以上来自于百度翻译 以下为原文 Hi, I want to know how can we transmit data serially from one PSoC 4 module to the other PSoC 4 module. Both the PSoC 4 modules are CY8CKIT4248LQI-BL583. I read that we can connect two devices via BLE one being central the other being peripheral. So, my question is how to send serial data through this BLE connection. I want to create an application such that when I press a button on the first board the signal is transmitted serially to the other board (we can see that the data is received on terminal application on COM port of the second board, by displaying message) and the LED on the 2nd board blinks when button pressed on first board. Please provide methods and sample programs if any. Thanks in advance. |
|
相关推荐
5个回答
|
|
请看一下这些项目。
1)PoSO-4-BLU/100i项目,在Suth.CyPress半导体公司/PSOC-4-BLE·GITHUB中的100100天/Day035I2I2CB BLASH桥 2)PoSO-4-BLU/100A项目,在Suth.CyPress半导体公司/PSOC-4-BLE·GITHUB中的100100天/Day048π脉冲桥 3)PSOC-4-BLU/100A项目,在100-100天/日020BuyuUART在主·CyPress半导体公司/PSOC-4-BLE·GITHUB 谢谢, 希马 以上来自于百度翻译 以下为原文 Please have a look at these projects 1)PSoC-4-BLE/100_Projects_in_100_Days/Day035_I2C_BLE_Bridge at master · cypresssemiconductorco/PSoC-4-BLE · GitHub 2)PSoC-4-BLE/100_Projects_in_100_Days/Day048_SPI_BLE_Bridge at master · cypresssemiconductorco/PSoC-4-BLE · GitHub 3)PSoC-4-BLE/100_Projects_in_100_Days/Day020_BLE_UART at master · cypresssemiconductorco/PSoC-4-BLE · GitHub Thanks, Hima |
|
|
|
60user67 发表于 2018-11-20 12:21 谢谢你的回复 我试着实施20天的UART项目。 但是,中央布尔工程项目 但外围BLE项目有较旧版本的BLE,我用BLE 4.2替换它并构建,但它在构建时显示错误。 此外,应该是什么设置的BLE外围设备 以上来自于百度翻译 以下为原文 Thank you for the reply I tried implementing the Day 20 BLE UART project. But in that the central ble project works But the peripheral ble project has older version of BLE I replaced it with BLE 4.2 and built but it shows error while building Also what should be the settings for the BLE peripheral |
|
|
|
请把这个项目捆起来。 谢谢, 希马 以上来自于百度翻译 以下为原文 Kindly attach the project as a bundle. Thanks, Hima |
|
|
|
请查找附件项目 UTARTIO-TYBLE外围设备 1.7兆字节 以上来自于百度翻译 以下为原文 Please find attached project |
|
|
|
你好,
附属工程在PSoC创建者4.1建造良好,在我们的结束。 谢谢, 希马 以上来自于百度翻译 以下为原文 Hello, The attached project is building fine in PSoC Creator 4.1, at our end. Thanks, Hima |
|
|
|
只有小组成员才能发言,加入小组>>
740个成员聚集在这个小组
加入小组1980 浏览 1 评论
1735 浏览 1 评论
3506 浏览 1 评论
请问可以直接使用来自FX2LP固件的端点向主机FIFO写入数据吗?
1666 浏览 6 评论
1446 浏览 1 评论
CY8C4025LQI在程序中调用函数,通过示波器观察SCL引脚波形,无法将pin0.4(SCL)下拉是什么原因导致?
215浏览 2评论
CYUSB3065焊接到USB3.0 TYPE-B口的焊接触点就无法使用是什么原因导致的?
121浏览 2评论
CX3连接Camera修改分辨率之后,播放器无法播出camera的画面怎么解决?
323浏览 2评论
270浏览 2评论
使用stm32+cyw43438 wifi驱动whd,WHD驱动固件加载失败的原因?
455浏览 2评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-8-18 03:19 , Processed in 0.904191 second(s), Total 85, Slave 69 queries .
Powered by 电子发烧友网
© 2015 www.ws-dc.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号