Code Monkey home page Code Monkey logo

Comments (2)

GaryDT avatar GaryDT commented on July 20, 2024 2

That's all a really great help actually (Y) it really is, so thank you kindly :) Please close again.

from nrf52_mbed_timerinterrupt.

khoih-prog avatar khoih-prog commented on July 20, 2024

Hi @GaryDT

Thanks for your interests in the library and it's good you spent some time to research before posting issue.

  1. Please describe the procedure for installing MBED 1.3.2 (and will this then mean that timer 1 will work after doing this?)
  1. This is actually a basic question for Arduino forum, but anyway, just go to Tools => Board Manager, then select according to the following picture

Selection_071

You actually can install both v1.3.2 and v2.5.2+, at the same time, to use and test

  1. Does this library make use of all 16 bit timers, e.g., will 10 micro seconds (or even lower, perhaps 1) be accurate? like when setting registers directly, as demonstrated in various AVR examples.
  1. Check NRF52_MBED_TimerInterrupt.h#L108-L115
const char* NRF52_MBED_TimerName[NRF_MAX_TIMER] =
{
  "NRF_TIMER0",
  "NRF_TIMER1",
  "NRF_TIMER2-DON'T_USE_THIS",
  "NRF_TIMER3",
  "NRF_TIMER4",
};

To use Timer Interrupt correctly, you must have certain hardware /firmware knowledge, read MCU documents, core and/or library, and examples' codes and fully understand to the bit / register / timings level.

The library is just a simple wrapper for you to simplify / speed-up the job. You have to investigate and test yourself to see if it can help with your special or demanding use cases.

I'm so sorry I don't have time now to help you.

Good Luck,

from nrf52_mbed_timerinterrupt.

Related Issues (6)

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.