完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
大家好!工作后的MCP2515,我正在尝试MCP25625(与Trimiver集成),但我正面临着一个大问题,我不能与它沟通,MISO停留在0V…这里是我的配置:-3.3V在引脚3一个11(VDD和VIO),5V的Pin 19(VDDA)-!重置(Pin 2)和STEBE(PAN15)不连接(失败后,我测试了许多配置)- MISO MOSI,CS和CSK连接到PIC24FJ-OSC1,连接到PIC24的CKOUT,OSC2下拉(3K3)-TXD连接到TXCAN-RXD,连接到RXCAN-CANL和CANH OPEN ONSO,所以我检查了PIC24的信号,所有的OK(时钟、CS和MOSI)从500千赫到8MHz的时钟速度OSC1被16MHz的信号正确地驱动,在OSC2i上没有检查MCP25625 SCKOUT(引脚6),但是它总是保持在0V。这是正常的吗?我检查了MISO PIN上的短裤,没有,你尝试拉,没有更多(MISO总是1,但不改变)我也尝试连接斯比到地面,重置到3.3V,没有更多…我也测试了所有这3个板。我问是否有人已经有类似的问题,或者如果你可以建议我这样做。我想测试一下…谢谢你!最好的问候,奥利维尔
以上来自于百度翻译 以下为原文 Hello Everybody! after working the MCP2515, i'm trying the MCP25625 (with tranciever integrated), but i'm facing a big problem, i'm not able to communicate with it, MISO stay at 0V... here is my configuration: -3.3V on pin 3 an 11 (VDD and VIO), 5V on pin19 (VDDA) -!reset (pin2) and stby (pin15) not conneted ( after failing, i tested many configurations) -MISO MOSI, CS and CSK connected to pic24FJ -osc1 connected to clkout of pic24, osc2 with pull down (3K3) -TXD connected to TXCAN -RXD connected to RXCAN -CANL and CANH open for now so i checked signals from pic24, all is ok (clock, cs and MOSI) tested from 500Khz to 8Mhz clock speed osc1 is correctly driven by 16Mhz signal, nothing on osc2 I checked mcp25625 SCKOUT (pin 6), but it stay always at 0V. is that normal? I checked shorts on MISO pin, there's not, u try a pull up, nothing more (MISO stay always 1, but not changing) I also tried to connect STBY to ground and reset to 3.3v, nothing more... I also tested all of that on 3 boards. I'm asking if someone already had similar issues, or if you can propose me something to test... Thanks you! best regards, Olivier |
|
相关推荐
3个回答
|
|
看起来MCP25625的MISO输出没有驱动线路。你应该再次拔出。我不知道它是否正常,但是芯片没有SCKOUT(引脚6是CKOUT,PIN 26是SCK(输入)),因为您以前使用MCP2515,我们可以假设您可以使用SPI与MCP2515和相同的PIC24FJ没有任何问题吗?(你使用的PIC24FJ)你检查(用范围或分析器)你的PIC24FJ SCKOUT显示一个时钟吗?相同的CS(这是活跃的低由于MCP数据表)。在SPI传输过程中,您是否确保该线路是活动的?你应该把你的标题从MPC25625改为MCP25625。
以上来自于百度翻译 以下为原文 It looks as if the MISO output of the MCP25625 is not driving the line. You should remove the pullup again. I don't know whether it's normal, but the chip does not have an SCKOUT ( Pin 6 is CLKOUT, Pin 26 is SCK (input) ) Since you previously used the MCP2515, we can assume that you could use SPI with MCP2515 and the same PIC24FJ without any problem ? (which PIC24FJ do you use) Did you check (with scope or analyzer) that your PIC24FJ SCKOUT shows a clock ? Same for CS (which is active low due to MCP data sheet). Did you ensure that the line is active during SPI transfer ? You should fix your title from MPC25625 to MCP25625 |
|
|
|
谢谢你的回复!我犯了一个错误:“我检查了MCP25625 CKOUT(引脚6),但它总是保持在0V。这是正常的吗?”我使用的MCP2515具有相同的PIC24F和代码VRRY相似。唯一的代码差异是时钟速度(在10MHz的MCP2515和NOx在16MHz与MCP25625。我将测试星期一更大的DelaIS复位后(现在他们大约16MS之间的复位SPI命令和更改模式命令))最好的问候,
以上来自于百度翻译 以下为原文 thanks for your reply! i made a mistake: "I checked mcp25625 CLKOUT (pin 6), but it stay always at 0V. is that normal?" i used the mcp2515 with the same pic24F and a code verry similar. The only difference in code is the clock speed (at 10Mhz with the mcp2515 and nox at 16Mhz with the mcp25625. i will test monday bigger delais after reset (now they are about 16ms between reset spi command and changing mode command) best regards, |
|
|
|
大家好,我刚刚发现我的问题,我切换的OSC1和OSC2的MCP25625…最好的问候!
以上来自于百度翻译 以下为原文 Hi everybody, I just found my problem, i switched osc1 and osc2 of the mcp25625... best regards! |
|
|
|
只有小组成员才能发言,加入小组>>
5228 浏览 9 评论
2026 浏览 8 评论
1950 浏览 10 评论
请问是否能把一个ADC值转换成两个字节用来设置PWM占空比?
3199 浏览 3 评论
请问电源和晶体值之间有什么关系吗?PIC在正常条件下运行4MHz需要多少电压?
2253 浏览 5 评论
770浏览 1评论
658浏览 1评论
有偿咨询,关于MPLAB X IPE烧录PIC32MX所遇到的问题
585浏览 1评论
PIC Kit3出现目标设备ID(00000000)与预期的设备ID(02c20000)不匹配。是什么原因
668浏览 0评论
570浏览 0评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-12-18 13:32 , Processed in 1.473622 second(s), Total 83, Slave 66 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号