Joel Holdsworth wrote:
> >> The patch considers CS# and decodes MOSI / MISO only after a CS#
> >> H-L transition.
> > 
> > What if CS# is tied low?
> 
> Yes that's a good point. I can think of some chips that require the
> transition for each packet, or even each byte.

Sure, I know of those too.


> Some chips don't care and you can tie CS# low.

Right.


> I wonder how important it is to deal with all this.

It makes the difference between sigrok being useful and sigrok
not being useful. I think it's important that sigrok is useful.


> Maybe the CS# behavior could be optional, defaulted to ignore.

Ignore is also not so great. I would suggest a default of only
sampling when CS# is low, with an option to additionally require
a H->L transition on CS#, but *always* restarting on a new word
whenever a H->L transition is seen, regardless of the option value.


//Peter

------------------------------------------------------------------------------
Get your SQL database under version control now!
Version control is standard for application code, but databases havent 
caught up. So what steps can you take to put your SQL databases under 
version control? Why should you start doing it? Read more to find out.
http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk
_______________________________________________
sigrok-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sigrok-devel

Reply via email to