Skip to content
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

fix(BLE): FreeRTOS-tickless #985

Merged
merged 9 commits into from
Apr 12, 2024
Merged

fix(BLE): FreeRTOS-tickless #985

merged 9 commits into from
Apr 12, 2024

Conversation

EricB-ADI
Copy link
Contributor

Description

Fixes issue with freertos tickless where the baseband was not being properly restored if advertising is off and put into deepsleep.
PalBbEnable/Disable uses a enable flag to tell when the hardware is enabled or not. When using deepsleep, the 32MHZ clock is cut and the LDOs are turned off, physically disabling the baseband. This flag becomes out of sync when advertising is disabled. Leading to the software to believe the baseband is enabled when it is in fact not. Hence it is never restarted.

@EricB-ADI EricB-ADI changed the title Fix/freertos tickless FIX(BLE):FreeRTOS-tickless Apr 10, 2024
@github-actions github-actions bot added MAX32655 Related to the MAX32655 (ME17) MAX32665 Related to the MAX32665 (ME14) MAX32690 Related to the MAX32690 (ME18) BLE Related to Bluetooth labels Apr 10, 2024
@EricB-ADI EricB-ADI changed the title FIX(BLE):FreeRTOS-tickless fix(BLE):FreeRTOS-tickless Apr 10, 2024
@EricB-ADI
Copy link
Contributor Author

/clang-format-run

@EricB-ADI EricB-ADI added the WIP work in progress label Apr 10, 2024
@EricB-ADI EricB-ADI changed the title fix(BLE):FreeRTOS-tickless fix(BLE): FreeRTOS-tickless Apr 10, 2024
@EricB-ADI
Copy link
Contributor Author

/clang-format-run

@EricB-ADI
Copy link
Contributor Author

/clang-format-run

@EricB-ADI
Copy link
Contributor Author

/clang-format-run

@EricB-ADI EricB-ADI merged commit 52174ec into main Apr 12, 2024
@EricB-ADI EricB-ADI deleted the fix/freertos-tickless branch April 16, 2024 19:05
EricB-ADI pushed a commit that referenced this pull request Aug 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
BLE Related to Bluetooth MAX32655 Related to the MAX32655 (ME17) MAX32665 Related to the MAX32665 (ME14) MAX32690 Related to the MAX32690 (ME18) WIP work in progress
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants