完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
你好,
对于我最近的项目,我需要使用三个差分总线,不幸的是,我使用PSoC5, 显然,现在不能使用两个以上的I2C模块用于PSOC5和三。 PSOC3的I2C模块。 所以,在支持团队和几个小时的工作和实验的帮助下 我设计了一个只使用一个内置I2C模块的组件。 MUX四种不同的I2C总线。我觉得它很有用。这种方法的缺点当然是速度。 限值100kbs. 对该模块做了一个简单的I2C驱动程序,并对其进行了测试。 有人感兴趣吗? I2C*MUX.JPG 81.5 K 以上来自于百度翻译 以下为原文 Hi, For my recent project I needed to use three different I2C buses, unfortunately I'm using PSoC5, and apparently as for now you can't use more than two I2C modules for PSoC5 nor three I2C modules for PSoC3. So, with some help of the support team and a couple hours of work and experiments I mannaged to desgin a component which uses only one built in I2C module which let you mux four different I2C buses. I found it very usefull. The drawback of this method is of course the speed limit of 100kbps. I also made a simple I2C driver for this module and tested the component. Is someone interested?
|
|
相关推荐
12个回答
|
|
迈克,
你测试过4个I2C通道@ 100千比特/秒吗?假设用这种方式实现4 I2C的发送数据是可以的,那么接收数据呢? 以上来自于百度翻译 以下为原文 Mike, have you tested 4 I2C channels @ 100 kbit/s? Guess sending data with 4 I2C implemented this way is OK, what about receiving data? |
|
|
|
这是一个I2C多路复用器,意味着你只能一次连接到一个I2C总线。我已经测试了接收和发送数据的速度可达100kbps,没问题”。其实,我已经测试过也”125kbps了它没有问题。
以上来自于百度翻译 以下为原文 This is a I2C Mux, means that you can connect only to one I2C bus at a time. I've tested both receiving and sending data @ 100kbps with no problem. Actually, I've tested also @125kbps and it took it with no problem. |
|
|
|
嗨,迈克
我看到,在本岗位从你,你就在psoc5 MPU6000三I2C接口的运行。 我已经尝试了一切包括你寄回来然后代码。显然,问题是我的PSoC不能坐公共汽车,因为myi2c_1_mastersendstart() returnsi2c_mstr_not_ready。 你能帮我吗?你是如何在PSoC上建立你的I2C模块的?… 抱歉,跑题了,但我绝望的在这里:).. 你可以写信给我在TeXTun1@ MSncom如果你能帮助。 以上来自于百度翻译 以下为原文 Hi Mike I saw, in a prevous post from you, that u had the MPU6000 I2C connection running on the PSoC5. I have tried everything including the code you posted back then. Apparently the problem is that my PSoC cant take the bus, because my I2C_1_MasterSendStart() returns I2C_MSTR_NOT_READY. Can u help me? How did you set up your I2C module on the PSoC?.. Sorry for being off topic, but i am kind a desperate here :) .. You can write to me at Texton1@msn.com if you can help. |
|
|
|
哦,对不起。
I2CY1MistMaseStEngestTo() 所以,出于某种原因,我没有从MPU6050获得一个ACK?… 再次抱歉离开话题。 以上来自于百度翻译 以下为原文 Oh sorry it was: I2C_1_MasterSendStart() returns I2C_MSTR_ERR_LB_NAK So for some reason I dont get an ack from the MPU6050?.. Again sorry for being off-topic. |
|
|
|
嗨,Texton,
我可以帮助你,检查你的电子邮件。 以上来自于百度翻译 以下为原文 Hi Texton, I can help you, check your email. |
|
|
|
嗨,迈克
我会对你的I2C MUX感兴趣,我有一个板,上面有一堆I2C芯片,所有的芯片都有相同的地址,我不得不使用外部电路来处理MUX,因为创建者坚持双向PIN,所以我不能只用MUX中的BUIT。 -肯尼 以上来自于百度翻译 以下为原文 Hi Mike I would be interested in your I2C Mux, I have a board with a whole bunch of I2C chips on which all have the same address and I had to use external circuitry to to the MUX because Creator insists on a bidirectional pin, so I couldn't just use the buit in mux. -Kenny |
|
|
|
嗨,肯尼,
你是对的,你不能使用标准组件来实现这种组件。 请与我联系:Mik.Hels@ Gmail网站 以上来自于百度翻译 以下为原文 Hi Kenny, You're right, you can't implement this kind of component using the standard components. Please contact me: mike.hersh@gmail.com |
|
|
|
一个示例项目,里面有驱动程序和组件…
I2C*MUX.CYWRK.SARVEVE01.ZIP 422.4 K 以上来自于百度翻译 以下为原文 An example project with the driver and the component inside...
|
|
|
|
这是一个非常有趣的部分,但是我有几个问题。
对于bufoe数据表说,公司得到Y不论X只有当OE为0。你已经OE永久启用。我看见你输入引脚只能够驱动低,但我不知道怎么bufoe允许引脚状态可回读因为OE总是1。 另一个问题是关于我的速度;这是为什么设计限制的测试? 谢谢,安得烈 以上来自于百度翻译 以下为原文 This is a very interesting component, but I have several questions. The datasheet for BUFOE says that yfb gets y irrespective of x only when OE is 0. You have OE permanently enabled. I do see that you have the inout pin only capable of driving low, but I don't understand how BUFOE is allowing the pin state to be read back because OE is always 1. The other question I had was regarding the speed; why was this design restricted to 100KHz? Thanks, Andrew |
|
|
|
你好,迈克!!请你分享我的好的解决方案,我有同样的问题。请发送到CKAI740@ AukkLunn.A.NZ。非常感谢 以上来自于百度翻译 以下为原文 Hi Mike!! Could you please share the solution for me as well, I got the same problem. please kindly send to ckai740@aucklanduni.ac.nz. Thanks so much |
|
|
|
我能够添加3个I2C硕士到MA示意图没有问题。使用固定函数块还是UDB BASED组件(我使用后者)?
以上来自于百度翻译 以下为原文 I was able to add 3 I2C masters to ma schematic without problems. Are you using the Fixed-Function block or the UDB-baseed components (I was using the latter)? |
|
|
|
欢迎来到论坛,彼得。 似乎这个线程有点老了(几年)。所以当你有一个实际的I2C问题时,不要犹豫去开始一个新的问题。 告诉我们你使用哪种(类型)的板,你想要控制的(链接到数据表有助于我们很多)以及你已经尝试过的(项目归档或工作区包)。 鲍勃 以上来自于百度翻译 以下为原文 Welcome in the forum, Peter. Seems as if this thread is a bit old (a few years). So when you have got an actual I2C problem do not hesitate to start a new question. Tell us which kind (type) of board you use, what you want to control (Link to datasheet helps us a lot) and what you already tried (Project archive or workspace bundle). Bob |
|
|
|
只有小组成员才能发言,加入小组>>
754个成员聚集在这个小组
加入小组2102 浏览 1 评论
1848 浏览 1 评论
3666 浏览 1 评论
请问可以直接使用来自FX2LP固件的端点向主机FIFO写入数据吗?
1783 浏览 6 评论
1533 浏览 1 评论
CY8C4025LQI在程序中调用函数,通过示波器观察SCL引脚波形,无法将pin0.4(SCL)下拉是什么原因导致?
565浏览 2评论
CYUSB3065焊接到USB3.0 TYPE-B口的焊接触点就无法使用是什么原因导致的?
419浏览 2评论
CX3连接Camera修改分辨率之后,播放器无法播出camera的画面怎么解决?
434浏览 2评论
380浏览 2评论
使用stm32+cyw43438 wifi驱动whd,WHD驱动固件加载失败的原因?
912浏览 2评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-12-22 13:42 , Processed in 1.433545 second(s), Total 99, Slave 82 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号