infineon4engineers Facebook

infineon@google+ Google+

infineon@linkedin linkedin

infineon4engi@twitter twitter

infineon@youtube youtube

+ Reply to Thread
Page 2 of 2 FirstFirst 1 2
Results 11 to 13 of 13

Thread: Fire IRQ, triggered from Source Code...

  1. #11
    XMC-Chriss
    Guest
    Hello,

    Thanks for Support, but I have no SKit2Go here...


    BUT, In the meantime, I find out, that my DAVE-APP solution is working...

    IF:

    I define in "Manual Ressource Assignment / INTERRUPT / NVIC-Node: XXX"

    Otherwise I get a Hard-Fault.

    I can define the node numbers betwwen 2 and 31...
    Some are working, some results in Hard-Fault...
    e.g. Number 10 is working, I am using that now...

    Please, May somebody can give me more backround Information, why and which Node-Numbers I can use, or use for best case ???

    Best Thanks.

  2. #12
    chismo is on a distinguished road
    Join Date
    Apr 2013
    Posts
    267
    Points
    2451.25
    Hello,

    So the previous problem is due to unassigned NVIC node?

    In the XMC1100, most of the NVIC nodes are assigned to specific service request lines of the peripherals:
    Click image for larger version

Name:	1.jpg
Views:	0
Size:	62.3 KB
ID:	2364

    The interrupt handler is not implemented in DAVE for the NC (not connected) lines, though an exception is IRQ2.
    These are the ones causing the default handler (from startup file) to be entered.

    For your purpose, I would suggest to use IRQ2 or whichever nodes (IRQ10 is USIC0.SR1) that are not used in your application, for the SW interrupt.

    Hope this helps.

    By the way, the code that I provided can also be used for XMC1100 boot kit but probably you don't need it anymore.

    Regards,
    Min Wei

  3. #13
    XMC-Chriss
    Guest
    OK, I understood.

    2 is already used...
    So I am using 6, and it's working fine.

    Best Thanks for help!

+ Reply to Thread

Tags for this Thread

Disclaimer

All content and materials on this site are provided “as is“. Infineon makes no warranties or representations with regard to this content and these materials of any kind, whether express or implied, including without limitation, warranties or representations of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. No license, whether express or implied, is granted by Infineon. Use of the information on this site may require a license from a third party, or a license from Infineon.


Infineon accepts no liability for the content and materials on this site being accurate, complete or up- to-date or for the contents of external links. Infineon distances itself expressly from the contents of the linked pages, over the structure of which Infineon has no control.


Content on this site may contain or be subject to specific guidelines or limitations on use. All postings and use of the content on this site are subject to the Usage Terms of the site; third parties using this content agree to abide by any limitations or guidelines and to comply with the Usage Terms of this site. Infineon reserves the right to make corrections, deletions, modifications, enhancements, improvements and other changes to the content and materials, its products, programs and services at any time or to move or discontinue any content, products, programs, or services without notice.