Click here to Skip to main content
15,888,984 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: Wordle Hurdle Pin
Amarnath S27-Apr-22 21:26
professionalAmarnath S27-Apr-22 21:26 
GeneralRe: Wordle Hurdle Pin
pkfox27-Apr-22 21:40
professionalpkfox27-Apr-22 21:40 
GeneralRe: Wordle Hurdle Pin
0x01AA27-Apr-22 21:51
mve0x01AA27-Apr-22 21:51 
GeneralRe: Wordle Hurdle Pin
Cp-Coder28-Apr-22 1:13
Cp-Coder28-Apr-22 1:13 
GeneralRe: Wordle Hurdle Pin
Greg Utas28-Apr-22 2:00
professionalGreg Utas28-Apr-22 2:00 
GeneralRe: Wordle Hurdle Pin
mikey80328-Apr-22 3:03
mikey80328-Apr-22 3:03 
GeneralRe: Wordle Hurdle Pin
Vivi Chellappa28-Apr-22 4:22
professionalVivi Chellappa28-Apr-22 4:22 
RantWhen standards don't matter Pin
honey the codewitch27-Apr-22 8:43
mvahoney the codewitch27-Apr-22 8:43 
Sometimes they don't. Sometimes what matters is how something is actually used, not how it's "supposed to work".

Some great examples are the many display controllers available for IoT devices.

They wire up using the same protocol (SPI) that SD cards use, with some exceptions.

Sometimes SPI is a 9-bit rather than 8-bit protocol. The extra bit is often used as a control bit. A lot of devices however, do not support 9-bit SPI.

The solution by pretty much every controller designer was to separate the 9th bit into its own data line - the "DC line"

The other thing they do that's not standard, is several of the controllers treat the Master Out/Slave In line as bidirectional rather than having a separate line for going the other direction. It probably saves cost, and makes the thing slightly easier to wire up, while sacrificing the full duplex capability of SPI. I'll refer to reading off this output line as an "SDA read"

The previous ESP32 handled this fairly gracefully, at least under the Arduino framework. The current chips do not seem to do SDA reads at all, even when I tried unhooking the pin interrupts from the SPI bus and bit banging the reads manually.

The upshot of this is no reading data back off the frame buffer of the display, even though the display fully supports this.

Same problem I had under the ESP-IDF framework with the old chip.

And that's not even getting into the issues with the DC line that prevent me from doing efficient SPI/LCD ops under the ESP-IDF. At least Arduino is half reasonable about it.

Standards don't matter if they mess up 80% of a class of devices they're intended to work with. What matters is does your stuff work? This newer SPI stuff on the S2 and S3 chips doesn't, IMO - standards be damned.
To err is human. Fortune favors the monsters.

GeneralRe: When standards don't matter Pin
jmaida27-Apr-22 9:21
jmaida27-Apr-22 9:21 
GeneralRe: When standards don't matter Pin
Mike Hankey27-Apr-22 9:29
mveMike Hankey27-Apr-22 9:29 
GeneralRe: When standards don't matter Pin
Gary R. Wheeler27-Apr-22 23:58
Gary R. Wheeler27-Apr-22 23:58 
GeneralRe: When standards don't matter Pin
den2k8828-Apr-22 1:03
professionalden2k8828-Apr-22 1:03 
GeneralRe: When standards don't matter Pin
Gary R. Wheeler28-Apr-22 1:45
Gary R. Wheeler28-Apr-22 1:45 
GeneralRe: When standards don't matter Pin
jmaida28-Apr-22 11:24
jmaida28-Apr-22 11:24 
GeneralRe: When standards don't matter Pin
Daniel Pfeffer28-Apr-22 0:45
professionalDaniel Pfeffer28-Apr-22 0:45 
GeneralRe: When standards don't matter Pin
jmaida28-Apr-22 11:25
jmaida28-Apr-22 11:25 
GeneralWSO CCC OTD 2022-04-27 Pin
OriginalGriff26-Apr-22 21:34
mveOriginalGriff26-Apr-22 21:34 
JokeRe: WSO CCC OTD 2022-04-27 Pin
Randor 26-Apr-22 21:49
professional Randor 26-Apr-22 21:49 
GeneralRe: WSO CCC OTD 2022-04-27 Pin
OriginalGriff26-Apr-22 22:03
mveOriginalGriff26-Apr-22 22:03 
GeneralRe: WSO CCC OTD 2022-04-27 Pin
pkfox26-Apr-22 21:56
professionalpkfox26-Apr-22 21:56 
GeneralRe: WSO CCC OTD 2022-04-27 - we have a winner! Pin
OriginalGriff26-Apr-22 22:05
mveOriginalGriff26-Apr-22 22:05 
GeneralRe: WSO CCC OTD 2022-04-27 - we have a winner! Pin
pkfox26-Apr-22 22:11
professionalpkfox26-Apr-22 22:11 
GeneralRe: WSO CCC OTD 2022-04-27 - we have a winner! Pin
OriginalGriff26-Apr-22 22:57
mveOriginalGriff26-Apr-22 22:57 
GeneralRe: WSO CCC OTD 2022-04-27 - we have a winner! Pin
Kornfeld Eliyahu Peter26-Apr-22 23:54
professionalKornfeld Eliyahu Peter26-Apr-22 23:54 
GeneralRe: WSO CCC OTD 2022-04-27 - we have a winner! Pin
Craig Robbins27-Apr-22 1:19
Craig Robbins27-Apr-22 1:19 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.