We use some essential cookies to make our website work.

We use optional cookies, as detailed in our cookie policy, to remember your settings and understand how you use our website.

2 posts • Page 1 of 1
tenkoh
Posts: 7
Joined: Sun Jun 21, 2020 3:51 pm

Raspberry Pi 3 Model B+の割り込みについて

Fri Nov 04, 2022 1:47 pm

現在、Raspberry Pi 3 Model B+向けに作成したRTOS のテスト作業をしています。
その作業の中で、割り込みをテストする必要があり、ソフトウェア的に割り込みを発生/キャンセルさせることが要求されています。

そこで、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+の割り込みについて

Sat Nov 05, 2022 1:34 am

USBはありますか?もしそうなら、私はあなたに何をすべきかを伝えることができます.

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.

2 posts • Page 1 of 1

Return to "日本語"

AltStyle によって変換されたページ (->オリジナル) /