modification to be done in setpinIRQ()

for everything else
Post Reply
qwerty
Posts: 12
Joined: Mon Jun 15, 2015 2:23 am

modification to be done in setpinIRQ()

Post by qwerty »

what are the modification to be done in SetPinIrq()

to accommodate the interrupt in j2[48]

I cant find the j2[48] option in case structure within SetPinIrq()

Product: MOD5441X
NNDK Version: 2.6.5
Platform: Windows 7
User avatar
BBAdmin
Site Admin
Posts: 35
Joined: Fri Apr 18, 2008 5:54 pm

Re: modification to be done in setpinIRQ()

Post by BBAdmin »

Hello,

The reason is that level 7 is a special case - it in an unmaskable interrupt, and as such you cannot call any rtos functions, among other things. You also need to ensure, as the developer, that you can service they quickly enough. Your version is quite a few back, so I have attached the example of using an irq7 that is in the current examples folder of the nndk. You will see that I have edited your post to remove the NetBurner library file source code. We're fine with posting any of your code or our examples, but ask that users please not post complete NetBurner library source code. Snippets are fine if you need clarification on something.

This example was developed and tested with release 2.7.1. If it does not build or run with your 2.6.5 you may need to make edits or update to the latest tool set.

Hope this helps. This is a good topic/question to ask since unmaskable interrupts are unique.
Attachments
ExternalIrq7.zip
(3.27 KiB) Downloaded 396 times
Post Reply