Git Product home page Git Product logo

Comments (2)

kentindell avatar kentindell commented on August 11, 2024

It sounds like you have a concurrency control problem: if interrupts get locked out for too long or tasks take to long to run then UART hardware buffers will lose bytes, and then of course frames will be dropped.

Have you tried a minimal system with no other interrupts and no locking out of interrupts? This might be hard if you have other software you don't have control over that locks out interrupts.

from min.

ArielSmarTap avatar ArielSmarTap commented on August 11, 2024

Hi kentindell thanks for the reply.
No, I haven't tried to run a minimal system yet, I will generate a new project with HalCoGen soon.
How can I be sure that I'm having concurrency control problems?

I toggled pins on the RM41L232 in the main loop every x and y millisecond and tested the pulse with an oscilloscope to check for timing issues, but no issues were found.

Moreover, I developed a C# app to echo MIN frames from the MCU and found that is just the RM41L232 MCU Rx side frames that were being lost.

something that is worth to mention is that with the STM I don't get back MIN_ID = 0xFF ACK frames, it just receives the packets and executes what's on the min_applicartion_handler()

Do you have a tip?
thanks

from min.

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.