element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Avnet Boards Forums
  • Products
  • Dev Tools
  • Avnet Boards Community
  • Avnet Boards Forums
  • More
  • Cancel
Avnet Boards Forums
Software Application Development ARM Interrupt controller
  • Forum
  • Documents
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Avnet Boards Forums requires membership for participation - click to join
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Not Answered
  • Replies 1 reply
  • Subscribers 303 subscribers
  • Views 327 views
  • Users 0 members are here
Related

ARM Interrupt controller

Former Member
Former Member over 9 years ago

I'm using the linux kernel from Xilinx: https://github.com/Xilinx/linux-xlnx.git

Apparently, the driver used for the interrupt controller is
drivers/irqchip/irq-gic.c on the Xilinx platform instead.

The driver is not reading interrupt from the peripheral even though I read interrupt correctly in chipscope (interrupt 90 and 91).

Anyone getting the same behavior? Any idea?

zynq> cat /proc/interrupts
           CPU0       CPU1
16:          0          0       GIC  27  gt
17:          0          0       GIC  43  ttc_clockevent
18:       1579       1136       GIC  29  twd
21:         43          0       GIC  39  f8007100.adc
90:          0          0  zynq-gpio  67  stream
91:          0          0  zynq-gpio  68  stream
141:          0          0       GIC  35  f800c000.ocmc
142:        216          0       GIC  82  xuartps
143:         10          0       GIC  51  e000d000.spi
144:        649          0       GIC  54  eth0
145:         35          0       GIC  56  mmc0
146:          0          0       GIC  45  f8003000.dmac
147:          0          0       GIC  46  f8003000.dmac
148:          0          0       GIC  47  f8003000.dmac
149:          0          0       GIC  48  f8003000.dmac
150:          0          0       GIC  49  f8003000.dmac
151:          0          0       GIC  72  f8003000.dmac
152:          0          0       GIC  73  f8003000.dmac
153:          0          0       GIC  74  f8003000.dmac
154:          0          0       GIC  75  f8003000.dmac
155:          0          0       GIC  40  f8007000.devcfg
162:          0          0       GIC  41  f8005000.watchdog
IPI1:          0          0  Timer broadcast interrupts
IPI2:        707        461  Rescheduling interrupts
IPI3:          0          0  Function call interrupts
IPI4:         25         25  Single function call interrupts
IPI5:          0          0  CPU stop interrupts
IPI6:          0          0  IRQ work interrupts
IPI7:          0          0  completion interrupts
Err:          0

  • Sign in to reply
  • Cancel
  • zedhed
    0 zedhed over 9 years ago

    Hi lplessard,

    What interrupt hardware are you connecting to within the PL?  Do you know if it is rising edge or falling edge trigger?  Also what does the device tree entry for your interrupt look like?

    There is some more discussion on how to handle interrupts from Linux over on the Xilinx forums:

    http://forums.xilinx.com/t5/Embedded-Linux/Zynq-Handle-interrupt-on-Linux/td-p/481232

    Regards,

    -Kevin

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube