« first day (2819 days earlier)      last day (127 days later) » 

2:59 PM
Also, rotary encoders from reputable sources can be had for less than $1
(including the datasheet)
 
 
2 hours later…
5:02 PM
I have a new candidate for "most whack-a-doodle SPI interface":
 
Why?
 
5:38 PM
I always thought these "big package under a doormat" pics were fake...
 
Never mind
Where are these ~$1 encoders??
:45690108
@W5VO ?
 
 
1 hour later…
6:51 PM
@ThePhoton Looks like they are using the SPI clock for clocking something in addition to SPI.
 
@NickAlexeev Actually I think they basically just implemented a '595 shift register on their chip.
 
@ThePhoton No, wait... What are they doing with the bits which are sent before the CS# is asserted?
 
@W5VO I'm thinking about optical rotary encoders...
I guess I should look into using one of those non-optical encoders for a project I still haven't finished:
 
 
2 hours later…
9:10 PM
@NickAlexeev Exactly.
 
@ThePhoton You mean you have a candidate for the most wacky implementation of actually not SPI
For which I have encountered over time quite a lot that would give yours a run for its money
 
@Asmyldof I mean the caption of the diagram says "SPI Timing Diagram" so they are actually claiming it's SPI.
 
Don't care, it's not SPI, as it's a defined 3 or 4 wire standard
 
@Asmyldof Really? Got a link?
 
The main mistake Motorola made is the level of options and ambiguity in the first definition (I think v0.7 was the first one non-Motorola people got to see?), which made people feel they could just do what the fuck ever.
Actually don't know if that link is the standard, tbh, I just threw the first thing linked to Motorola original development at you without looking, because I'm tired
Anyway, the choices you have in SPI are: MSB first vs LSB first, Mode1 vs 2 vs 3 vs 4, Selected vs Always Listening
Later the single data-line got added, not sure if it's by Motorola itself
 
9:24 PM
@Asmyldof rising-edge vs falling-edge clocking...
 
What you CANNOT choose is what your pins do when select is deselected in the case you have a select
@ThePhoton That's mode 1, 2, 3, 4
Clock and Data polarity
 
@Asmyldof Anyway that looks like a Users Guide for an IP block (for an ASIC?)
 
Yet, Semtech, for example, decided that when select is not asserted (not low) that the output pin would just repeat the input pin. By design. On purpose.
@ThePhoton Didn't actually look
 
@Asmyldof That's F*cking bullshit
 
There's a few Motorola standards that are a bit iffy to find now, because when they became Freescale they forgot to update a few links and then when they became NXP the new mother company wanted everything in theme and only spent money on about half of that effort.
And I sometimes think it's because they already owned the Philips inherited I2C that SPI fell on the wrong side of that line
 
9:27 PM
@Asmyldof So we can blame the Dutch?
 
@ThePhoton In part
@ThePhoton Try telling that to Semtech
 
@Asmyldof Semtech is a bit of a hot mess, anyway.
 
After 4 weeks of debugging code I discovered that my bus of 10 devices was always just effectively outputting the input back at me, because the one selected chip never won from the 9 not-selected.
So we contacted them with this
And they responded "Yeh, that's expected behaviour"
Which it fckn isn't
 
@Asmyldof What's the point of a CS pin if you can't share the bus between multiple peripherals?
 
You said it was 4 wire SPI you bastards! Nowhere in the datasheet does it say anything of the sort
That's just one of many examples
TI and Semtech occur surprisingly often on that list
 
9:30 PM
Hmmm, Yahoo finance is showing my company's stock is -100% today.
Does that mean I can go home early?
No, it means I have to go to a meeting.
Later
 
Sleep well
 
@ThePhoton Thats not an engineering diagram, it's art
Great realcomponents just bought out all of the world market for an EOL capacitor, and they want 10x the price for it. I love those parts pirates, I mean brokers.
Guess I'll redesign my boards
 
 
1 hour later…
10:49 PM
@ThePhoton SPI is more of a tradition, rather than the actual specification.
 
@AdamUraynar You were talking about detents, so I figured you would be OK with mechanical. You can always spin your own with a 2 output photo-transistor gate, which runs about $2
 
hey there @NickAlexeev and @W5VO
 
And Digikey is where I look, because I don't want to spend a lot of time looking
 
11:11 PM
@laptop2d I am running into way too many NRND parts at murata.com today.
"You want 0603? Sorry, we recommend you use 0201 instead."
Okay, but what if I want to be able to see this part while I'm re-working it?
 
@ThePhoton ouch man
 
11:50 PM
@ThePhoton We recommend you use younger co-workers or better magnification
 

« first day (2819 days earlier)      last day (127 days later) »