Why does my SPI behave strange with Microchip 25LC01

Thread Starter

dsgba118

Joined Jan 6, 2017
5
I have one of those situations where I believe that I have crossed my t's and i's, but things still are not working out; however, I'm new to SPI. I have a Microchip 25LC01, in 6-pin package, that seems to need extra clocks to send out commands, which is contrary to the datasheet. The best example of this behavior that can be illustrated in the command where I read the status register, and the Figure from the data sheet shows the following waveform:


So, you clock in an eight bit instruction and then 8 clocks after that you should have received your response. What I see is what follows:


A note, the signals are indeed 3.3V, but my scope is set to 5V resolution, which is what the 5V note is under each channel label. So, I send the command to read the status register, which is 0000 x101 and I get nothing back. The rising edge of the clock sits nicely in the middle of the command. However, this is where it gets stranger from here. If I read the status register again, I get a response.

What is likely the proper response is occurring 8 cycles AFTER I would expect it.

With microsecond timings, I am well in the within the specification for the timing on the IC, so my question is: Does Microchip have some special state machine behavior that is known well enough that they do not document it?
Mod edit: snipped commercial link
 
Last edited by a moderator:

joeyd999

Joined Jun 6, 2011
6,333

atferrari

Joined Jan 6, 2004
5,015
Hola joey,

Posting the exactly same question in different forums (sites) is what I've been doing for more than probably ten years now. Do you find it wrong? Or do you question how it is done?.

Sorry but I had to ask.
 

nsaspook

Joined Aug 27, 2009
16,336
Hola joey,

Posting the exactly same question in different forums (sites) is what I've been doing for more than probably ten years now. Do you find it wrong? Or do you question how it is done?.

Sorry but I had to ask.
What Joey said. It's exactly the same but the datasheet PDF link has been changed. There are known malware variants that infect from PDF files or it just might be a viral marketing method using questions to cause clicks.
 
Top