• 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

Using both cores for tasks

Q&A Forum › Category: ESP32 › Using both cores for tasks
0 Vote Up Vote Down
Ralph Hilton asked 2 years ago

I am wondering about possible conflicts if 2 tasks running on different cores are both accessing the same data. Let us say that I take sensor readings using an ads1115 on one core and output data to an OLED on the other core. Both would use I2C. Is the possible conflict in the use of i/o lines and data handled somehow or do I need to take measures to safeguard against it? Thanks.

1 Answers
0 Vote Up Vote Down
Sara Santos Staff answered 2 years ago

Hi Raplh.
To be honest, I’m not sure about that.
However, because you’re using two different I2C devices, its almost certain they have two different I2C addresses. So, there should be no problem. 
But, you really need to experiment and see what you get.
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] SMART HOME with RPi, ESP32, and ESP8266 (version 1.2) March 8, 2023
  • [eBook Updated] ESP32-CAM Projects (version 1.3) January 7, 2023

You must be logged in to view this content.

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

Copyright © 2013-2023 · 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.