I am having problem with gpio interrupts on arty a7 when using rtos. I have mapped a pin to a gpio ip to trigger an interrupt on pin IO7 when it is drawn high. When I run the code, the initialization succeeds without any problem and I can see the first character being printed out inside the interrupt and then freeze. If I then rerun the code, without programming the FPGA with bootloop, the interrupt doesn't trigger and get stuck at microblaze_enable_interrupts();
If I run my code in a non rtos application it runs fine and triggers the interrupt without any problems. Would appreciate any help I could get to get the rtos application to run with gpio interrupt
Question
hdx
Hi
I am having problem with gpio interrupts on arty a7 when using rtos. I have mapped a pin to a gpio ip to trigger an interrupt on pin IO7 when it is drawn high. When I run the code, the initialization succeeds without any problem and I can see the first character being printed out inside the interrupt and then freeze. If I then rerun the code, without programming the FPGA with bootloop, the interrupt doesn't trigger and get stuck at microblaze_enable_interrupts();
If I run my code in a non rtos application it runs fine and triggers the interrupt without any problems. Would appreciate any help I could get to get the rtos application to run with gpio interrupt
Link to comment
Share on other sites
2 answers to this question
Recommended Posts
Archived
This topic is now archived and is closed to further replies.