<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/every-esp32-program-you-ve-written-has-been-ignoring-half-the-chip-itzrxydn2" -->

---
title: Every ESP32 program you've written has been ignoring...
description: Most ESP32 boards run a dual-core Xtensa processor, but Arduino-style sketches typically only use Core 1, leaving Core 0 (mostly handling Wi-Fi/Bluetooth)...
canonical: https://daily.dev/posts/every-esp32-program-you-ve-written-has-been-ignoring-half-the-chip-itzrxydn2
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Every ESP32 program you've written has been ignoring half the chip | daily.dev
og:description: Most ESP32 boards run a dual-core Xtensa processor, but Arduino-style sketches typically only use Core 1, leaving Core 0 (mostly handling Wi-Fi/Bluetooth)...
og:url: https://daily.dev/posts/every-esp32-program-you-ve-written-has-been-ignoring-half-the-chip-itzrxydn2
og:image: https://api.daily.dev/og/posts/ItzrXyDN2.png
og:image:alt: Every ESP32 program you've written has been ignoring half the chip
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Every ESP32 program you've written has been ignoring half the chip

**[XDA Developers](https://daily.dev/sources/xda-developers)** · 3 min read · 1 upvotes · 0 comments

## Summary

Most ESP32 boards run a dual-core Xtensa processor, but Arduino-style sketches typically only use Core 1, leaving Core 0 (mostly handling Wi-Fi/Bluetooth) idle. Projects mixing slow operations like Bluetooth transfers, display refreshes, and network calls in a single loop can hit performance bottlenecks from serial execution. Developers can explicitly assign tasks to Core 0 to unlock additional processing power, but must call vTaskDelay() periodically to yield control back to the scheduler, otherwise the watchdog timer can trigger a reboot from starving the Wi-Fi/Bluetooth stack of CPU time.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://www.xda-developers.com/your-esp32-program-is-ignoring-half-the-chip>

## Questions this post answers

### Why does my ESP32 code always run on Core 1 instead of using both cores?

By default, Arduino-style ESP32 sketches run entirely on Core 1, the Application CPU, while Core 0, the Protocol CPU, handles the Wi-Fi and Bluetooth stack and otherwise sits mostly idle. Calling xPortGetCoreID() inside loop() will print 1, confirming your code never touches the second core unless you explicitly assign tasks to it.

_daily.dev surfaces practical embedded guides for developers optimizing ESP32 projects across both cores._

### How do I safely pin a FreeRTOS task to Core 0 on an ESP32 without crashing it?

Bind the task to Core 0 but make sure it calls vTaskDelay() periodically, even with a delay as small as 1ms, to yield control back to the scheduler. Without this, the watchdog timer can detect the Wi-Fi/Bluetooth stack being starved of CPU time and force a reboot, since Core 0 also runs those wireless system tasks.

_Developers wiring up dual-core ESP32 tasks track these safety gotchas on daily.dev._

## Similar posts on daily.dev

- [Tingou Wu's Website](https://daily.dev/posts/tingou-wu-s-website-dlsch5hoy) · Hacker News · 0 upvotes · 0 comments
- [Your ESP32 has a secret processor that keeps working while the rest of the chip is asleep](https://daily.dev/posts/your-esp32-has-a-secret-processor-that-keeps-working-while-the-rest-of-the-chip-is-asleep-dxuau2yex) · XDA Developers · 0 upvotes · 0 comments
- [The ESP8266 Gets An OS, And It’s Familiar](https://daily.dev/posts/the-esp8266-gets-an-os-and-it-s-familiar-kkh220do6) · Hackaday · 0 upvotes · 0 comments
- [Not all ESP32 boards are the same, and picking the wrong one wastes weeks of your project time](https://daily.dev/posts/not-all-esp32-boards-are-the-same-and-picking-the-wrong-one-wastes-weeks-of-your-project-time-lmwfxxq3k) · XDA Developers · 0 upvotes · 0 comments

---

Tags: [#iot](https://daily.dev/tags/iot), [#embedded](https://daily.dev/tags/embedded), [#c++](https://daily.dev/tags/c++)

[View this post on daily.dev](https://daily.dev/posts/every-esp32-program-you-ve-written-has-been-ignoring-half-the-chip-itzrxydn2)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Every ESP32 program you've written has been ignoring half the chip","url":"https://daily.dev/posts/every-esp32-program-you-ve-written-has-been-ignoring-half-the-chip-itzrxydn2","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/every-esp32-program-you-ve-written-has-been-ignoring-half-the-chip-itzrxydn2"},"datePublished":"2026-09-09T15:04:25.189Z","dateModified":"2026-09-14T09:04:42.121Z","description":"Most ESP32 boards run a dual-core Xtensa processor, but Arduino-style sketches typically only use Core 1, leaving Core 0 (mostly handling Wi-Fi/Bluetooth)...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/19f279fd0a0896e62b3dd2305f43831f?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/19f279fd0a0896e62b3dd2305f43831f?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"XDA Developers","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"XDA Developers","logo":"https://media.daily.dev/image/upload/s--kCg6yyAP--/f_auto,q_auto/v1774964407/logos/xda-developers?_a=BAMAMiWQ0","url":"https://daily.dev/sources/xda-developers"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/every-esp32-program-you-ve-written-has-been-ignoring-half-the-chip-itzrxydn2","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":1},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"iot,embedded,c++","timeRequired":"PT3M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"XDA Developers","item":"https://daily.dev/sources/xda-developers"},{"@type":"ListItem","position":3,"name":"Every ESP32 program you've written has been ignoring half the chip"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/every-esp32-program-you-ve-written-has-been-ignoring-half-the-chip-itzrxydn2#faq","mainEntity":[{"@type":"Question","name":"Why does my ESP32 code always run on Core 1 instead of using both cores?","acceptedAnswer":{"@type":"Answer","text":"By default, Arduino-style ESP32 sketches run entirely on Core 1, the Application CPU, while Core 0, the Protocol CPU, handles the Wi-Fi and Bluetooth stack and otherwise sits mostly idle. Calling xPortGetCoreID() inside loop() will print 1, confirming your code never touches the second core unless you explicitly assign tasks to it. daily.dev surfaces practical embedded guides for developers optimizing ESP32 projects across both cores."}},{"@type":"Question","name":"How do I safely pin a FreeRTOS task to Core 0 on an ESP32 without crashing it?","acceptedAnswer":{"@type":"Answer","text":"Bind the task to Core 0 but make sure it calls vTaskDelay() periodically, even with a delay as small as 1ms, to yield control back to the scheduler. Without this, the watchdog timer can detect the Wi-Fi/Bluetooth stack being starved of CPU time and force a reboot, since Core 0 also runs those wireless system tasks. Developers wiring up dual-core ESP32 tasks track these safety gotchas on daily.dev."}}]}
```

