SDHC card MISO Remains Low

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

SDHC card MISO Remains Low

跳至解决方案
997 次查看
Dave_W
Contributor I

Hi

 

I'm having an issue communicating with my SDHC card.  I should mention that I have communicated with this card before with the same code on a slightly older version of the circuit. 

 

The mcf51 is communicating with the card via SPI via potential dividers on CS, MOSI and SCK as the micro is running at 5V to fulfill several other requirements.  The MISO line is put through a hex inverter to buffer the signal up to 5V.

 

I have not connected any pullup resistors anywhere, but I assumed that it wasn't necessary given that first prototype I made worked without them with this same card.

 

Essentially I get no response from the card.  The MISO line remains Low all the time.  Can anyone suggest a potential reason for this?

 

Thanks in advance


Dave Wright

标签 (1)
0 项奖励
回复
1 解答
805 次查看
Dave_W
Contributor I

It was not quite as 2 dimensional as that, there were no changes in the electrical schematic only in the PCB layout so there should have been no hardware induced issues. 

 

I was hoping there was a common problem that caused a low MISO but I couldn't find anything on forums.

 

However I solved the issue, it came down to a poor contact that was hidden under the smd sd socket.  It wasn't immediately clear even with a microscope.

 

Thanks for the response.

在原帖中查看解决方案

0 项奖励
回复
2 回复数
805 次查看
FridgeFreezer
Senior Contributor I

So it was working, then you changed the circuit and it doesn't work anymore. I think there's a clue there :smileywink:

 

What does the electrical specification say for each of the devices you're using?

0 项奖励
回复
806 次查看
Dave_W
Contributor I

It was not quite as 2 dimensional as that, there were no changes in the electrical schematic only in the PCB layout so there should have been no hardware induced issues. 

 

I was hoping there was a common problem that caused a low MISO but I couldn't find anything on forums.

 

However I solved the issue, it came down to a poor contact that was hidden under the smd sd socket.  It wasn't immediately clear even with a microscope.

 

Thanks for the response.

0 项奖励
回复