• Skip to main content
  • Skip to primary sidebar

RNTLab.com

The Ultimate Shortcut to Learn Electronics and Programming with Open Source Hardware and Software

  • Courses
  • Forum
    • Forum
    • Ask Question
  • Shop
  • Account
  • Blog
  • Login

Interrupts allocation

Q&A Forum › Category: ESP32 › Interrupts allocation
0 Vote Up Vote Down
Walter Mota asked 4 years ago

Hi,
On a specific application (with no wifi, BT or Ethernet functions) I would like to use both cores of the ESP32.
In this application, I need to use interrupts attached to some pins and timer interrupts, core 1 will be dedicated to measure RPM of a spindle (tachimeter – rotary encoder) and other stuff.
In order to avoid that core 0 is affected by the delays generated by the code attached to the timer interrupts, I would like to find the way to allocate these interrupts only to core 1.
I found some documentation on the web but I have difficulties to implement these informations.
Do you know the way to reach this aim in a easy way (…)?
 
Thank you.
 
best regards,
 
Walter Mota

2 Answers
0 Vote Up Vote Down
Steve Mercer answered 4 years ago

By definition interrupts and multi core are going to be difficult propositions. You will need to read the documentation carefully and do a lot of testing. Good luck.
 
https://rntlab.com/question/esp32-designating-a-specific-core-for-specific-interrupt-service/

0 Vote Up Vote Down
Sara Santos Staff answered 4 years ago

Hi Walter.
Unfortunately, we don’t have tutorials about those specific subjects. 
As Steve mentioned, you’ll have to take a look at the documentation. 
This may also help: https://esp32.com/viewtopic.php?t=5553
Regards,
Sara

Primary Sidebar

Login to Ask or Answer Questions

This Forum is private and it’s only available for members enrolled in our Courses.

Login »

Latest Course Updates

  • [eBook Updated] Learn Raspberry Pi Pico/Pico W with MicroPython eBook – Version 1.2 May 26, 2025
  • [New Edition] Build ESP32-CAM Projects eBook – 2nd Edition April 16, 2025

You must be logged in to view this content.

Contact Support - Refunds - Privacy - Terms - MakerAdvisor.com - Member Login

Copyright © 2013-2025 · RandomNerdTutorials.com · All Rights Reserved

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.