Giter Club home page Giter Club logo

Comments (4)

bztsrc avatar bztsrc commented on July 27, 2024

Hi,
Yes, there is. More actually. You can use the ARM or the BCM System Timer too. I'm planning to do some timer interrupt tutorials, but I haven't got the time so far. Until then, I suggest to take a look at the other tutorials I've linked on the front page, they have example codes. Also you should definitely take a look at Circle64: https://github.com/rsta2/circle64/blob/master/lib/timer.cpp It's using the BCM System Timer to generate microsec precision interrupts for kernel ticks.
Good to hear, I've liked your repo :-)

from raspi3-tutorial.

milanvidakovic avatar milanvidakovic commented on July 27, 2024

Hello,
Thank you, I will look. C++ is one of my least favorite languages, but I will give it a look, as well as on other links you mentioned.
Best regards,
Milan

from raspi3-tutorial.

lizhuohua avatar lizhuohua commented on July 27, 2024

@bztsrc It will be fun if you do some timer interrupt tutorials. Really look forward to it.
Actually I tried to use the system timer to generate interrupts. It works well on hardware but the qemu doesn't seem to simulate it. Do you have any suggestions about simulating timer interrupts in qemu? Thanks a lot.

from raspi3-tutorial.

bztsrc avatar bztsrc commented on July 27, 2024

@lizhuohua: yes, the system timer (which is a BCM peripheral) is not emulated in qemu. There's an alternative way to generate timer interrupts purely with ARM, I suggest to look into that (see DDI0487 doc). I'm planning to write an interrupt and clock tutorial for quite some time now, unfortunatelly haven't had the time so far.

from raspi3-tutorial.

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.