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
assertion using nRF5 power clock with BLE and nRF5 temp sensor #12114
Comments
Below is part of the discussion with @anangl regarding this observation
|
The assertion issue when BLE and nRF temperature sensor is used concurrently is now seen at a different place https://github.com/zephyrproject-rtos/zephyr/blob/master/drivers/sensor/nrf5/temp_nrf5.c#L47 The returned error code being After discussing with @anangl, he suggested that
@cvinayak |
@anangl ping |
Describe the bug
When nRF5 temperature sensor is used during BLE communication, assertion is hit in
temp_nrf5_sample_fetch()
with-EBUSY
error (temp_nrf5.c line 54). Assertion is hit duringclock_control_off()
since both BLE controller and nRF Temperature uses the same nRF power clock.To Reproduce
Steps to reproduce the behavior:
Expected behavior
Assertion should not occur or if it occurs API documentation can give more information
Impact
Even if this issue is minor this affects just the Debug build of our application and release build works fine. Hopefully there is no problem using BLE along with nRF temperature sensor in parallel.
Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: