Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. Espressif, WHY?!

Espressif, WHY?!

Scheduled Pinned Locked Moved The Lounge
hardwarec++cssasp-netquestion
11 Posts 6 Posters 1 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • H honey the codewitch

    Okay let me start by saying how much I love the ESP32. It's a 32-bit dual core SoC with wifi and bluetooth for less than $10, what's not to love? But... Espressif, come on. You made a great piece of hardware, and I want to unlock all of its fancy features. I ditched the Arduino framework and started coding directly against the ESP-IDF (the dev framework Espressif made specifically for the ESP32) All is good, woo! I have access to the full STL, to filesystem mount points, to the humble printf() - all the things I couldn't get under Arduino. Except... The SPI bus drivers for the ESP-IDF seem to be absolute *garbage*. I've written ESP32 based drivers for an ILI9341 display adapter for both ESP-IDF and the Arduino framework, and the Arduino one runs at 40MHz and I can only top the other one out at 26MHz! Furthermore, with the ESP32 SPI drivers there seem to be timing issues. Until my good logic analyzer gets here I can't know for sure, but it looks like the SCLK line is lagging behind the data lines by half a tick. For this or some other reason I cannot get the ESP-IDF to talk to e-paper/e-ink displays at all. Why go through all this effort to make a framework for your hardware, and then botch the SPI implementation for it, all the while making a *good* implementation of it for someone else's (Arduino) framework?! What the heck am I missing? *headdesk*

    Real programmers use butterflies

    S Offline
    S Offline
    Slacker007
    wrote on last edited by
    #2

    It is Saturday, you know.

    H 1 Reply Last reply
    0
    • S Slacker007

      It is Saturday, you know.

      H Offline
      H Offline
      honey the codewitch
      wrote on last edited by
      #3

      This is what I do to myself on Saturdays.

      Real programmers use butterflies

      L 1 Reply Last reply
      0
      • H honey the codewitch

        This is what I do to myself on Saturdays.

        Real programmers use butterflies

        L Offline
        L Offline
        Lost User
        wrote on last edited by
        #4

        No cartoons? Horse Opera?

        It was only in wine that he laid down no limit for himself, but he did not allow himself to be confused by it. ― Confucian Analects: Rules of Confucius about his food

        H 1 Reply Last reply
        0
        • L Lost User

          No cartoons? Horse Opera?

          It was only in wine that he laid down no limit for himself, but he did not allow himself to be confused by it. ― Confucian Analects: Rules of Confucius about his food

          H Offline
          H Offline
          honey the codewitch
          wrote on last edited by
          #5

          Violent Femmes - Waiting For the Bus - YouTube[^] I needed an excuse to listen to the violent femmes. Waiting for the SPI bus seems as good a reason as any.

          Real programmers use butterflies

          enhzflepE 1 Reply Last reply
          0
          • H honey the codewitch

            Okay let me start by saying how much I love the ESP32. It's a 32-bit dual core SoC with wifi and bluetooth for less than $10, what's not to love? But... Espressif, come on. You made a great piece of hardware, and I want to unlock all of its fancy features. I ditched the Arduino framework and started coding directly against the ESP-IDF (the dev framework Espressif made specifically for the ESP32) All is good, woo! I have access to the full STL, to filesystem mount points, to the humble printf() - all the things I couldn't get under Arduino. Except... The SPI bus drivers for the ESP-IDF seem to be absolute *garbage*. I've written ESP32 based drivers for an ILI9341 display adapter for both ESP-IDF and the Arduino framework, and the Arduino one runs at 40MHz and I can only top the other one out at 26MHz! Furthermore, with the ESP32 SPI drivers there seem to be timing issues. Until my good logic analyzer gets here I can't know for sure, but it looks like the SCLK line is lagging behind the data lines by half a tick. For this or some other reason I cannot get the ESP-IDF to talk to e-paper/e-ink displays at all. Why go through all this effort to make a framework for your hardware, and then botch the SPI implementation for it, all the while making a *good* implementation of it for someone else's (Arduino) framework?! What the heck am I missing? *headdesk*

            Real programmers use butterflies

            L Offline
            L Offline
            Lost User
            wrote on last edited by
            #6

            honey the codewitch wrote:

            What the heck am I missing?

            By the sound, chocolotate.. ..ice cream :) runs for cover

            Bastard Programmer from Hell :suss: "If you just follow the bacon Eddy, wherever it leads you, then you won't have to think about politics." -- Some Bell.

            1 Reply Last reply
            0
            • H honey the codewitch

              Okay let me start by saying how much I love the ESP32. It's a 32-bit dual core SoC with wifi and bluetooth for less than $10, what's not to love? But... Espressif, come on. You made a great piece of hardware, and I want to unlock all of its fancy features. I ditched the Arduino framework and started coding directly against the ESP-IDF (the dev framework Espressif made specifically for the ESP32) All is good, woo! I have access to the full STL, to filesystem mount points, to the humble printf() - all the things I couldn't get under Arduino. Except... The SPI bus drivers for the ESP-IDF seem to be absolute *garbage*. I've written ESP32 based drivers for an ILI9341 display adapter for both ESP-IDF and the Arduino framework, and the Arduino one runs at 40MHz and I can only top the other one out at 26MHz! Furthermore, with the ESP32 SPI drivers there seem to be timing issues. Until my good logic analyzer gets here I can't know for sure, but it looks like the SCLK line is lagging behind the data lines by half a tick. For this or some other reason I cannot get the ESP-IDF to talk to e-paper/e-ink displays at all. Why go through all this effort to make a framework for your hardware, and then botch the SPI implementation for it, all the while making a *good* implementation of it for someone else's (Arduino) framework?! What the heck am I missing? *headdesk*

              Real programmers use butterflies

              G Offline
              G Offline
              Garth J Lancaster
              wrote on last edited by
              #7

              That's a bit bizarre - mind you, I see a lot of iOT work at the moment and I shudder when they use a serial port GPS integration rather than I2C or SPI. I'll be learning 'ROS' soon, I missed a really nice job in Ag-Tech here because I wasn't prepared to lie on my CV - that being said, yes, it's not an O/S, and I do know messaging, so I could have bluffed my way through mqtt etc Pretty cool that you write drivers for ESP32 - a level way above me

              1 Reply Last reply
              0
              • H honey the codewitch

                Okay let me start by saying how much I love the ESP32. It's a 32-bit dual core SoC with wifi and bluetooth for less than $10, what's not to love? But... Espressif, come on. You made a great piece of hardware, and I want to unlock all of its fancy features. I ditched the Arduino framework and started coding directly against the ESP-IDF (the dev framework Espressif made specifically for the ESP32) All is good, woo! I have access to the full STL, to filesystem mount points, to the humble printf() - all the things I couldn't get under Arduino. Except... The SPI bus drivers for the ESP-IDF seem to be absolute *garbage*. I've written ESP32 based drivers for an ILI9341 display adapter for both ESP-IDF and the Arduino framework, and the Arduino one runs at 40MHz and I can only top the other one out at 26MHz! Furthermore, with the ESP32 SPI drivers there seem to be timing issues. Until my good logic analyzer gets here I can't know for sure, but it looks like the SCLK line is lagging behind the data lines by half a tick. For this or some other reason I cannot get the ESP-IDF to talk to e-paper/e-ink displays at all. Why go through all this effort to make a framework for your hardware, and then botch the SPI implementation for it, all the while making a *good* implementation of it for someone else's (Arduino) framework?! What the heck am I missing? *headdesk*

                Real programmers use butterflies

                CPalliniC Offline
                CPalliniC Offline
                CPallini
                wrote on last edited by
                #8

                Quote:

                botch the SPI implementation for it, all the while making a *good* implementation of it for someone else's (Arduino) framework?!

                Maybe they found, along the way of completing their own framewwork, that Arduino one imperat (attracts many more people)?

                "In testa che avete, Signor di Ceprano?" -- Rigoletto

                In testa che avete, signor di Ceprano?

                H 1 Reply Last reply
                0
                • CPalliniC CPallini

                  Quote:

                  botch the SPI implementation for it, all the while making a *good* implementation of it for someone else's (Arduino) framework?!

                  Maybe they found, along the way of completing their own framewwork, that Arduino one imperat (attracts many more people)?

                  "In testa che avete, Signor di Ceprano?" -- Rigoletto

                  H Offline
                  H Offline
                  honey the codewitch
                  wrote on last edited by
                  #9

                  That's not it or they wouldn't still be maintaining the ESP-IDF.

                  Real programmers use butterflies

                  CPalliniC 1 Reply Last reply
                  0
                  • H honey the codewitch

                    That's not it or they wouldn't still be maintaining the ESP-IDF.

                    Real programmers use butterflies

                    CPalliniC Offline
                    CPalliniC Offline
                    CPallini
                    wrote on last edited by
                    #10

                    Are they? I supposed they outsourced it to you. :laugh:

                    "In testa che avete, Signor di Ceprano?" -- Rigoletto

                    In testa che avete, signor di Ceprano?

                    1 Reply Last reply
                    0
                    • H honey the codewitch

                      Violent Femmes - Waiting For the Bus - YouTube[^] I needed an excuse to listen to the violent femmes. Waiting for the SPI bus seems as good a reason as any.

                      Real programmers use butterflies

                      enhzflepE Offline
                      enhzflepE Offline
                      enhzflep
                      wrote on last edited by
                      #11

                      Ouch! Sounds like trying to cajole the things into doing what you want is like sporting A Blister In The Sun. :((

                      1 Reply Last reply
                      0
                      Reply
                      • Reply as topic
                      Log in to reply
                      • Oldest to Newest
                      • Newest to Oldest
                      • Most Votes


                      • Login

                      • Don't have an account? Register

                      • Login or register to search.
                      • First post
                        Last post
                      0
                      • Categories
                      • Recent
                      • Tags
                      • Popular
                      • World
                      • Users
                      • Groups