GithubHelp home page GithubHelp logo

Single Core Issues? about esp_dmx HOT 2 CLOSED

someweisguy avatar someweisguy commented on May 25, 2024
Single Core Issues?

from esp_dmx.

Comments (2)

someweisguy avatar someweisguy commented on May 25, 2024

Thanks for bringing this to my attention! I've loaded up my ESP32C3 on Arduino and I am seeing this same error. I am not seeing this error on ESP-IDF, however, so that indicates to me that something funky is going on with Arduino for the ESP32-C3.

I will investigate and keep you updated!

from esp_dmx.

someweisguy avatar someweisguy commented on May 25, 2024

Thanks for your patience on this. I have found the issue and it is two-fold.

First there was an issue with the DMX driver attempting to use one of the ESP32C3's hardware timers that was reserved for the Watchdog. Because the watchdog timer was getting clobbered by the DMX driver, this was causing the ESP32C3 to hang upon calling dmx_driver_install().

Second, there appears to be an issue with the pins that you are assigning for use with the DMX driver. Pins 20 and 21 are indeed labelled TX and RX on the ESP32C3 dev board, but these are for UART 0, which is used for communication to and from the Serial Monitor. When giving these pins to the DMX driver by calling dmx_set_pin(), you are clobbering the Serial Monitor pins. I believe that this should be fine if you don't need to read or write to the Serial Monitor. If you are using the Serial Monitor for logging messages, you will need to use different pins.

I've submitted PR #69 to fix this issue. I will be merging it shortly. When I do, you are able to clone the head of the release/v3.0 and you will be able to use this library. Let me know if you have any questions!

from esp_dmx.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.