Click here to Skip to main content
15,892,674 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: Convert this C++ code to C, plz, plz, plz! Pin
Nelek11-Jun-21 3:38
protectorNelek11-Jun-21 3:38 
GeneralRe: Convert this C++ code to C, plz, plz, plz! Pin
Nemanja Trifunovic11-Jun-21 2:15
Nemanja Trifunovic11-Jun-21 2:15 
GeneralRe: Convert this C++ code to C, plz, plz, plz! Pin
CPallini11-Jun-21 2:39
mveCPallini11-Jun-21 2:39 
GeneralRe: Convert this C++ code to C, plz, plz, plz! Pin
  Forogar  11-Jun-21 3:03
professional  Forogar  11-Jun-21 3:03 
GeneralRe: Convert this C++ code to C, plz, plz, plz! Pin
Gary R. Wheeler11-Jun-21 10:16
Gary R. Wheeler11-Jun-21 10:16 
GeneralRe: Convert this C++ code to C, plz, plz, plz! Pin
Chris Losinger11-Jun-21 3:54
professionalChris Losinger11-Jun-21 3:54 
GeneralRe: Convert this C++ code to C, plz, plz, plz! Pin
CPallini11-Jun-21 4:28
mveCPallini11-Jun-21 4:28 
GeneralHalf a bit Pin
honey the codewitch10-Jun-21 19:16
mvahoney the codewitch10-Jun-21 19:16 
Banging on the bits
My spi reads getting no hits
my timing's not tight
something ain't right
this driver is giving me fits

seriously though, my clock signal is *half a bit* behind my MOSI signal using the ESP-IDF, but bang on using the Arduino framework, I think. At least that's what digging around the internet has strongly implied.

I'll know by the 15th when my logic analyzer gets here.

I figured out it was a timing issue because I was getting 0xFFFF back for my pixel reads, but sometimes 0x0000, and when I plotted them in a square I got a zebra pattern.

Unfortunately I may have to rewrite the entire SPI subsystem under the ESP-IDF if I want this stuff to work.

What I don't get is how more people haven't had these problems. I think part of it is nearly everyone uses the Arduino framework except for the hackers, which is unfortunate because the ESP-IDF has a number of advantages. They just need to work the kinks out of it apparently.

I've got a lot of code invested in the ESP-IDF but if I can't get this to work I will have no e-paper/e-ink support in my graphics stuff for it because none of the controllers seem to be able to handle the timing being off by half a bit.
Real programmers use butterflies

GeneralRe: Half a bit Pin
markkuk10-Jun-21 21:42
markkuk10-Jun-21 21:42 
GeneralRe: Half a bit Pin
honey the codewitch11-Jun-21 1:13
mvahoney the codewitch11-Jun-21 1:13 
GeneralAge is just a number PinPopular
Jörgen Andersson10-Jun-21 7:27
professionalJörgen Andersson10-Jun-21 7:27 
GeneralRe: Age is just a number Pin
obermd10-Jun-21 7:57
obermd10-Jun-21 7:57 
GeneralRe: Age is just a number Pin
Mike Hankey10-Jun-21 8:28
mveMike Hankey10-Jun-21 8:28 
GeneralRe: Age is just a number Pin
Chris C-B10-Jun-21 19:24
Chris C-B10-Jun-21 19:24 
GeneralRe: Age is just a number Pin
Gary R. Wheeler11-Jun-21 10:18
Gary R. Wheeler11-Jun-21 10:18 
GeneralRe: Age is just a number Pin
theoldfool11-Jun-21 13:48
professionaltheoldfool11-Jun-21 13:48 
GeneralMonky Business PinPopular
obermd10-Jun-21 7:14
obermd10-Jun-21 7:14 
PraiseRe: Monky Business Pin
Matthew Dennis10-Jun-21 8:01
sysadminMatthew Dennis10-Jun-21 8:01 
GeneralRe: Monky Business Pin
obermd10-Jun-21 11:15
obermd10-Jun-21 11:15 
GeneralRe: Monky Business Pin
enhzflep10-Jun-21 9:20
enhzflep10-Jun-21 9:20 
GeneralThought of the Day Pin
OriginalGriff10-Jun-21 4:38
mveOriginalGriff10-Jun-21 4:38 
JokeRe: Thought of the Day Pin
RogelioP / EX DE,HL10-Jun-21 5:02
professionalRogelioP / EX DE,HL10-Jun-21 5:02 
GeneralRe: Thought of the Day Pin
den2k8810-Jun-21 5:03
professionalden2k8810-Jun-21 5:03 
GeneralRe: Thought of the Day Pin
W Balboos, GHB10-Jun-21 5:09
W Balboos, GHB10-Jun-21 5:09 
GeneralRe: Thought of the Day Pin
Greg Utas10-Jun-21 5:38
professionalGreg Utas10-Jun-21 5:38 

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.