Microchip
直播中

朱梁贡

8年用户 207经验值
私信 关注
[问答]

MPC25625 MISO系列上没有任何东西

大家好!工作后的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)

李雨晨

2018-10-26 16:25:41
看起来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
 
举报

姜钰

2018-10-26 16:41:34
谢谢你的回复!我犯了一个错误:“我检查了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,
举报

姜钰

2018-10-26 16:48:17
大家好,我刚刚发现我的问题,我切换的OSC1和OSC2的MCP25625…最好的问候!

以上来自于百度翻译


      以下为原文

    Hi everybody,
I just found my problem,
i switched osc1 and osc2 of the mcp25625... 
 
best regards!
举报

更多回帖

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