Click here to Skip to main content
15,125,104 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 4:38
protectorNelek11-Jun-21 4:38 
GeneralRe: Convert this C++ code to C, plz, plz, plz! Pin
Nemanja Trifunovic11-Jun-21 3:15
MemberNemanja Trifunovic11-Jun-21 3:15 
GeneralRe: Convert this C++ code to C, plz, plz, plz! Pin
CPallini11-Jun-21 3:39
mveCPallini11-Jun-21 3:39 
GeneralRe: Convert this C++ code to C, plz, plz, plz! Pin
  Forogar  11-Jun-21 4:03
professional  Forogar  11-Jun-21 4:03 
GeneralRe: Convert this C++ code to C, plz, plz, plz! Pin
Gary R. Wheeler11-Jun-21 11:16
MemberGary R. Wheeler11-Jun-21 11:16 
GeneralRe: Convert this C++ code to C, plz, plz, plz! Pin
Chris Losinger11-Jun-21 4:54
professionalChris Losinger11-Jun-21 4:54 
GeneralRe: Convert this C++ code to C, plz, plz, plz! Pin
CPallini11-Jun-21 5:28
mveCPallini11-Jun-21 5:28 
GeneralHalf a bit Pin
honey the codewitch10-Jun-21 20:16
mvahoney the codewitch10-Jun-21 20: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 22:42
Membermarkkuk10-Jun-21 22:42 
GeneralRe: Half a bit Pin
honey the codewitch11-Jun-21 2:13
mvahoney the codewitch11-Jun-21 2:13 
GeneralAge is just a number Pin
Jörgen Andersson10-Jun-21 8:27
professionalJörgen Andersson10-Jun-21 8:27 
GeneralRe: Age is just a number Pin
obermd10-Jun-21 8:57
Memberobermd10-Jun-21 8:57 
GeneralRe: Age is just a number Pin
Mike Hankey10-Jun-21 9:28
professionalMike Hankey10-Jun-21 9:28 
GeneralRe: Age is just a number Pin
Chris C-B10-Jun-21 20:24
MemberChris C-B10-Jun-21 20:24 
GeneralRe: Age is just a number Pin
Gary R. Wheeler11-Jun-21 11:18
MemberGary R. Wheeler11-Jun-21 11:18 
GeneralRe: Age is just a number Pin
theoldfool11-Jun-21 14:48
professionaltheoldfool11-Jun-21 14:48 
GeneralMonky Business Pin
obermd10-Jun-21 8:14
Memberobermd10-Jun-21 8:14 
PraiseRe: Monky Business Pin
Matthew Dennis10-Jun-21 9:01
sysadminMatthew Dennis10-Jun-21 9:01 
GeneralRe: Monky Business Pin
obermd10-Jun-21 12:15
Memberobermd10-Jun-21 12:15 
GeneralRe: Monky Business Pin
enhzflep10-Jun-21 10:20
Memberenhzflep10-Jun-21 10:20 
GeneralThought of the Day Pin
OriginalGriff10-Jun-21 5:38
mveOriginalGriff10-Jun-21 5:38 
JokeRe: Thought of the Day Pin
RogelioP / EX DE,HL10-Jun-21 6:02
professionalRogelioP / EX DE,HL10-Jun-21 6:02 
GeneralRe: Thought of the Day Pin
den2k8810-Jun-21 6:03
professionalden2k8810-Jun-21 6:03 
GeneralRe: Thought of the Day Pin
W Balboos, GHB10-Jun-21 6:09
mveW Balboos, GHB10-Jun-21 6:09 
GeneralRe: Thought of the Day Pin
Greg Utas10-Jun-21 6:38
mvaGreg Utas10-Jun-21 6: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.