- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
How many of the GPIO pins are available as interrupts on the Joule module? What about the remapped pins?
Link Copied
6 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Hi Ashinn,
Thank for contacting us!
Please let me investigate a little bit more in order to help you with the information requested.
I'll appreciate your patience.
Regards,
-Yermi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Hi Ashinn,
Thank you very much for your patience, I just want to let you know that I'm still working on it, and I'll come back as soon as possible.
Regards,
-Yermi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Hi Ashinn,
I've been looking for GPIO pins information and I found this: http://www.intel.com/content/www/us/en/support/boards-and-kits/000022494.html Intel® Joule Expansion Board Pin Connector, however, there is nothing mentioned about GPIO as interrupts. So, I tried to make some tests using Mraa in order to check the GPIOs as interrupts. Below you can find the steps I followed:
- Take a look at the Mraa pin mapping on the Intel Joule: https://github.com/intel-iot-devkit/mraa/blob/master/docs/grossetete.md Mraa - Intel Joule
- I made a simple circuit with a button, when the button is pressed will active the interrupt.
- Ran the follow code:
# include "mraa.h"
# include
void ISR();
int main(void) {
mraa_init();
mraa_gpio_context interrupt = mraa_gpio_init(pin_number); //pin_number according Mraa Pin mapping
mraa_gpio_dir(interrupt, MRAA_GPIO_IN);
mraa_gpio_isr(interrupt, MRAA_GPIO_EDGE_BOTH, ISR, NULL);
for(;;) { };
return MRAA_SUCCESS;
}
void ISR() {
printf("Interrupt OK \n");
}
4. I've tested some GPIO pins based on the Mraa ping mapping and the following pins 51, 53 and 55, I could use as interrupts.
In order to test other GPIO pins you can use the code above and check their functionality.
Hope this information helps, also, if you have any questions, don't hesitate to contact me back.
Regards,
-Yermi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Hi Yermi,
thank you for that detailed response I appreciate it. Our Joule evaluation board should be here this week and we will follow your instructions to test for other Interrupts, I will post the results here when we have them.
Andrew
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Hi Ashinn,
You're welcome, I'm glad to help you. Sharing your results here will be very useful for the community, we'll be waiting for them.
Regards,
-Yermi

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page