GithubHelp home page GithubHelp logo

Interrupt conflict about esp_dmx HOT 1 CLOSED

particlerain avatar particlerain commented on July 20, 2024
Interrupt conflict

from esp_dmx.

Comments (1)

someweisguy avatar someweisguy commented on July 20, 2024

Thanks for the praise and thank you for submitting this issue. And thank you for the excellent troubleshooting you have done so far.

I only could set between Flag 1 and 2. And that didnt fix the issue. After Flag3 it did not receive DMX packets anymore.

This sounds right to me. I don't recall exactly how this behavior is supposed to work off the top of my head but this sounds about right. If I recall correctly, any interrupts above flag 3 must be written in assembly. The interrupt service routine for this library is written in C. The Assembly/C interrupt flag behavior is a quirk of the hardware, not something that this library defines.

Btw is there an option in your code ( which i did not see where) to define that the driver should be used in IRAM? I guess its the default ? Or should we define it somehere?

Due to the way Arduino works, your version of Arduino will automatically place the DMX driver in IRAM. This may change when Arduino officially supports ESP-IDF v5.1 but the current version you are using will place the driver in IRAM. On Arduino, this setting is not able to be changed.

Is there any code that you are able to share? I think that is the next step that will be needed to help with this issue.

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.