Cypress技术论坛
直播中

尤立虔

8年用户 1053经验值
擅长:控制/MCU
私信 关注
[问答]

MiniProg3使用I2C和SWD连接并行?

大家好。
我设计的电路测试/编程设备生产并考虑连接SWD接口和I2C。
DUT(测试设备)使用I2C进行所有通信
所以我需要使用I2C从测试主机(PC使用Python)执行测试命令。
由于miniprog3可以设置为一个I2C桥以及作为一个程序员,我considerint线的I2C引脚与SWD引脚在编程/测试。
有没有人成功地做到了这一点?
是否有任何不良影响的SWD接口,I2C通信运行?
我假设SWD接口直到复位引脚被拉和SWD初始化是在“待机”模式…这意味着我可以混合这些信号。
欢迎任何想法!
当做,
米歇尔
                    
                    
以上来自于百度翻译

               
                                                                                      以下为原文
                                            Hi all.

I'm designing production in-circuit test/programming fixtures and considering to connect SWD interface together with I2C.
The DUT (Device Under Test) uses I2C for all communication.
So I need to use I2C from test host (PC using Python) to execute test commands.

Since the MiniProg3 can be set up as an I2C bridge as well as a programmer, I'm considerint to wire I2C pins together with SWD pins while programming/testing.
Did anyone out there already do this successfully?
Could there be any adverse effects on the SWD interface while I2C communication is running?
I'm assuming SWD interface is in "standby" mode until reset pin is pulled and SWD initialized... which means I could mix these signals.

Any ideas are welcome!

Regards,
Michel

回帖(1)

李雅文

2018-8-29 14:28:12
的miniprog三可以作为仅在5针连接器一个I2C桥。社会福利署的界面也使用相同的引脚作为你可以看到表3.2页# 13的miniprog 3指导下(链接:http://www.cypress.com/file/44091/download)。这基本上意味着你可以配置miniprog 3作为一个I2C桥或作为SWD接口不能同时。
现在假设你的意思是你将使用10针连接器和5针连接器接口I2C桥SWD引脚,还是miniprog每次只能运行一个协议,因此不存在的情况下,混合,但是你可以把它作为一个桥梁和程序员或者。
当做,
德黑拉杰
                    
                    
以上来自于百度翻译

               
                                                                                      以下为原文
                                            The Miniprog 3 can act as an i2c bridge only on the 5 pin connector. The SWD Interface also uses the same pins as you can see under Table 3.2 Page #13 of the Miniprog 3 Guide (link: http://www.cypress.com/file/44091/download ). Which basically means that you can configure Miniprog 3 to act either as an i2c bridge or as an SWD interface and not both simultaneously.
 
Now supposing you are saying you will use SWD pins from the 10 pin connector and i2c bridge interface on the 5 pin connector, still the miniprog can run only one protocol at a time and hence there is no case of mixing, but yes you can make it work as a bridge and programmer alternatively.
 
Regards,
Dheeraj
举报

更多回帖

发帖
×
20
完善资料,
赚取积分