Raspberry Pi 3 Model B+の割り込みについて
現在、Raspberry Pi 3 Model B+向けに作成したRTOS のテスト作業をしています。
その作業の中で、割り込みをテストする必要があり、ソフトウェア的に割り込みを発生/キャンセルさせることが要求されています。
そこで、BCM2837のIllegal access type-X IRQ を使えないかと考えているのですが、問題が発生してしまいました。
Base Interrupt enable register で割り込みを許可し、0x3C000000番地に値を書き込むことで割り込みは発生させられるようになったのですが、割り込み要因のクリアが上手くできません。
Base Interrupt enable register で割り込みを許可した瞬間に割り込みが発生しているようにも思え、何がトリガになっているのかよくわかりません。
割り込み許可前に0x3C000000番地をクリアしても状況は変わらず、割り込みが発生し続けてしまい、大変困っています。
割り込み要因をクリアする方法を御存じの方がいれば、御教授願えないでしょうか?
その作業の中で、割り込みをテストする必要があり、ソフトウェア的に割り込みを発生/キャンセルさせることが要求されています。
そこで、BCM2837のIllegal access type-X IRQ を使えないかと考えているのですが、問題が発生してしまいました。
Base Interrupt enable register で割り込みを許可し、0x3C000000番地に値を書き込むことで割り込みは発生させられるようになったのですが、割り込み要因のクリアが上手くできません。
Base Interrupt enable register で割り込みを許可した瞬間に割り込みが発生しているようにも思え、何がトリガになっているのかよくわかりません。
割り込み許可前に0x3C000000番地をクリアしても状況は変わらず、割り込みが発生し続けてしまい、大変困っています。
割り込み要因をクリアする方法を御存じの方がいれば、御教授願えないでしょうか?
- PianoGeoduck107
- Posts: 62
- Joined: Sat Oct 29, 2022 12:56 am
Re: Raspberry Pi 3 Model B+の割り込みについて
USBはありますか?もしそうなら、私はあなたに何をすべきかを伝えることができます.
Google 翻訳で翻訳
Google 翻訳で翻訳
A Raspberry pi user.
Hi. I am a Pi user who has 3 years of experience, and joined this forum to collaborate on projects with other pi users, help other newer pi users with their Pi, and ask questions myself about the pi.
Hi. I am a Pi user who has 3 years of experience, and joined this forum to collaborate on projects with other pi users, help other newer pi users with their Pi, and ask questions myself about the pi.
Jump to
- Community
- General discussion
- Announcements
- Other languages
- Deutsch
- Español
- Français
- Italiano
- Nederlands
- 日本語
- Polski
- Português
- Русский
- Türkçe
- User groups and events
- Raspberry Pi Official Magazine
- Using the Raspberry Pi
- Beginners
- Troubleshooting
- Advanced users
- Assistive technology and accessibility
- Education
- Picademy
- Teaching and learning resources
- Staffroom, classroom and projects
- Astro Pi
- Mathematica
- High Altitude Balloon
- Weather station
- Programming
- C/C++
- Java
- Python
- Scratch
- Other programming languages
- Windows 10 for IoT
- Wolfram Language
- Bare metal, Assembly language
- Graphics programming
- OpenGLES
- OpenVG
- OpenMAX
- General programming discussion
- Projects
- Networking and servers
- Automation, sensing and robotics
- Graphics, sound and multimedia
- Other projects
- Gaming
- Media centres
- AIY Projects
- Hardware and peripherals
- Camera board
- Compute Module
- Official Display
- HATs and other add-ons
- Device Tree
- Interfacing (DSI, CSI, I2C, etc.)
- Keyboard computers (400, 500, 500+)
- Raspberry Pi Pico
- General
- SDK
- MicroPython
- Other RP2040 boards
- Zephyr
- Rust
- AI Accelerator
- AI Camera - IMX500
- Hailo
- Software
- Raspberry Pi OS
- Raspberry Pi Connect
- Raspberry Pi Desktop for PC and Mac
- Beta testing
- Other
- Android
- Debian
- FreeBSD
- Gentoo
- Linux Kernel
- NetBSD
- openSUSE
- Plan 9
- Puppy
- Arch
- Pidora / Fedora
- RISCOS
- Ubuntu
- Ye Olde Pi Shoppe
- For sale
- Wanted
- Off topic
- Off topic discussion