Skip to content

Fix BLE and WiFi coexistance on Portenta c33 #472

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

fabik111
Copy link
Contributor

Description:

This PR solves the issue that prevents the use of the BLE and the WiFi connectivities at the same time. The issue is that if the sketch initializes the BLE first and then inizializes the WiFi, the BLE stops working.

Changes:

  • Added a singleton class CEspChipManager for handling the ESP32C3 initialization globally only the first time.

@per1234 per1234 added type: imperfection Perceived defect in any part of project topic: code Related to content of the project itself labels Jun 12, 2025
Copy link
Contributor

@pennam pennam left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Initializing BLE after WiFi and putting ESP_BLE_PIN_EN / BSP_IO_PORT_08_PIN_03 output HIGH can possibly break WiFi functionality, because that pin is used as DATA_READY from the WiFi driver.

@fabik111 fabik111 force-pushed the fix-ble-wifi-coexistance-portenta-c33 branch from 8b8811e to 138fc4c Compare June 19, 2025 15:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic: code Related to content of the project itself type: imperfection Perceived defect in any part of project
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants