完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
我已经能够做一个回环SPI在创建者,我已经能够创建和使用内部RTC使用时钟晶体。我找不到任何关于如何将外部SPI从属元素添加到顶层示意图设计的例子。如有任何帮助,将不胜感激。
以上来自于百度翻译 以下为原文 I have been able to do a loopback with SPI in Creator and I have been able to create and use an internal RTC using the clock crystal. I cannot find any examples of how to add an external SPI slave to the top level schematic design. Any assistance would be greatly appreciated. |
|
相关推荐
4个回答
|
|
嗨,杰弗里,
你是说PSoC扮演SPI奴隶还是SPI大师? 无论SPI奴隶还是主人,PSoC Creator都有它的例子。当然,您可以在顶级SCH上放置SCB组件,并将其配置为SPI类型组件。 谢谢, 赖安 以上来自于百度翻译 以下为原文 Hi Geoffrey, Do you mean PSoC playing as an SPI slave or SPI master? No matter SPI Slave or Master, PSoC Creator has examples about it. Of course you could put a SCB component on top level sch, and configure it as an SPI type component. Thanks, Ryan |
|
|
|
pengzhongdianzi 发表于 2018-10-25 17:52 嗨,赖安, 为了澄清,SPOC 5LP将充当SPI大师。 我需要能够添加一个SPI奴隶的示意图,以允许Creator构建应用程序。 我已经能够添加SPI从内部到SPOC 5LP和循环回的每一个代码示例。这很有帮助,而且效果不错。我怀疑我可以禁用SPI奴隶,并删除所有的代码,但希望我可以找到一个外部的SPI组件在库中,这样我就可以把它添加到顶层示意图,并把它加起来。找不到快乐。我试图创建一个虚拟的,但实际上没有实现它,尽管我把它标记为一个外部组件。 您提到了SCB组件。SCB代表什么?他们在哪里可以找到?听起来可能奏效。 我已经习惯了使用AVR、RPI和Altera的FPGA等MCU。第一次使用柏树和PSoC LP5。只是给你我的背景。我75岁了,退休了,喜欢玩这些东西。我的套件来自SpkFooFy,我正试图将他们的SPI死机RTC绑定到CyPress PSoC。 谢谢您。感谢您的回复。 乔夫 以上来自于百度翻译 以下为原文 Hi Ryan, To clarify, the SpoC 5LP will be acting as the SPI master. I need to be able to add an SPI slave to the schematic to allow Creator to build the application. I have been able to add a SPI slave internal to the SPoC 5LP and loop back per one of the Code Examples. This was helpful and worked fine. I suspect I can disable the SPI slave and delete all of that code, but was hoping that I could find an external SPI component in the library so that I could add it to the top level schematic and wire it up. No joy in finding one. I tried to create a dummy one, but was unable to do so without actually implementing it, even though I marked it as an external component. You mentioned a SCB component. What does SCB stand for? and where might they be found? Sounds like that might work. I am used to working with MCU's such as AVR's, RPi's, and FPGA's from Altera. First time with Cypress and the PSoC LP5. Just to give you my background. Also I am 75 and retired and enjoy playing with these things. My kit is from Sparkfun and I am trying to hook their SPI Deadon RTC to the Cypress PSoc. Thank you. Your response is appreciated. Geof |
|
|
|
亲爱的Geof, 知道了! 我以为你在玩PSOC4。SCB(串行通信块)仅适用于PSoC4。PSOC5LP没有SCB。 很抱歉,默认情况下,PSoC Creator的库中没有外部SPI。 PSoC Creator中的外部组件只是一个符号,既没有软件,也没有硬件资源生成和编译后的外部组件。在这种情况下,任何人都可以画出他喜欢的东西。 (我真的希望我也能在我的75岁时扮演PSoC这样的角色!) 享受你的PSoC时间吧! 最好的问候, 赖安 以上来自于百度翻译 以下为原文 Dear Geof, Got it! I thought you were playing PSoC4. SCB(Serial Communication Block) is only available for PSoC4. There is no SCB in PSoC5 LP. I'm sorry I'm afraid there is no external SPI in PSoC Creator's library by default. An external component in PSoC Creator is just a symbol, There is neither software, nor hardware resource generated for an external component after build and compile. In this case, one can draw anything as he/she'd like. (I really hope I can also play something like PSoC at my 75!) Enjoy your PSoC time! Best Regards, Ryan |
|
|
|
瑞安早上好, 我对CyPress内部SPI主机和从属设备没有任何问题。当我尝试在示意图中绘制外部组件时,创建者软件抱怨连接(比如PIN的错误类型)。 从这里,我想我会通过持有的内部奴隶失去!CS引脚高。断开CS,MISO,MOSI和CLK引脚从内部奴隶,并钩那些我的外部RTC。然后简单地发送一些东西给RTC看看是否能得到响应。作为最后一件事,我会把我的DSO连接到别针上,看看我能不能解决问题。但这是最后一招。 考虑这个线程关闭,我非常感谢你对我的新手问题的回应。 当做, 乔夫 以上来自于百度翻译 以下为原文 Good morning Ryan, I have had no problems with the Cypress internal SPI master and slave. When I do try to draw an external component in the schematic the Creator software complains about the connections (something like wrong type of pin). From here, I think I will disable the internal slave by holding the !CS pin high. Disconnect the CS, MISO, MOSI, and CLK pins from the internal slave and hook those to my external RTC. Then simply try to send something to the RTC and see if I can get a response. As a final thing I will hook up my DSO to the pins and see if I can figure things out. But that is a last resort. Consider this thread closed and I thank you very much for your response to my noobie question. Regards, Geof |
|
|
|
只有小组成员才能发言,加入小组>>
752个成员聚集在这个小组
加入小组2071 浏览 1 评论
1827 浏览 1 评论
3639 浏览 1 评论
请问可以直接使用来自FX2LP固件的端点向主机FIFO写入数据吗?
1761 浏览 6 评论
1513 浏览 1 评论
CY8C4025LQI在程序中调用函数,通过示波器观察SCL引脚波形,无法将pin0.4(SCL)下拉是什么原因导致?
511浏览 2评论
CYUSB3065焊接到USB3.0 TYPE-B口的焊接触点就无法使用是什么原因导致的?
361浏览 2评论
CX3连接Camera修改分辨率之后,播放器无法播出camera的画面怎么解决?
410浏览 2评论
357浏览 2评论
使用stm32+cyw43438 wifi驱动whd,WHD驱动固件加载失败的原因?
858浏览 2评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-11-25 04:25 , Processed in 1.089542 second(s), Total 83, Slave 67 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号