Request to configure SPBTLE-1S of STEVAL-MKSBOX1V1 #44036
Replies: 7 comments 1 reply
-
@avisconti I think I recall you ported that board. Would you be able to check that at least the configuration is ok ? |
Beta Was this translation helpful? Give feedback.
-
@dbortoluzzi I'd suggest to add the following flags if not done already:
Then I'd try both configurations on top:
and if not working:
If none of these working, and dts configuration is proven to be correct, then, I'd suggest to study SPBTLE-1S module documentation against |
Beta Was this translation helpful? Give feedback.
-
@erwango I've tried your suggestions, but the problem still remains the same. |
Beta Was this translation helpful? Give feedback.
-
Yes, I ported that board some time ago. If I remember well the BLE part had been skipped at that time and only USB was available. |
Beta Was this translation helpful? Give feedback.
-
@erwango @dbortoluzzi |
Beta Was this translation helpful? Give feedback.
-
Moving to "Discussion" |
Beta Was this translation helpful? Give feedback.
-
Hello,
Now, you are able to go outside the infinite loop but it is not completely working.
@dbortoluzzi did you manage it ? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Is your enhancement proposal related to a problem? Please describe.
I would like to use the Ble Module (SPBTLE-1S) of the STEVAL-MKSBOX1V1 (SensorTile.box) in a zephyr project. This mcu is supported by zephyr, but the .dts doesn't configure the spi2 interface used by bluetooth.
Describe the solution you'd like
According with the hardware specs, I tried to start from ST BLE sensor project example and configure:
Unfortunately, bluetooth isn't enabled correctly and the system hangs up:
in the main.c, the bt_enable waits endlessly, because the function bt_spi_rx_thread of the file https://github.com/zephyrproject-rtos/zephyr/blob/v2.7-branch/drivers/bluetooth/hci/spi.c (line 343) doesn't return, looping in the do-while.
Describe alternatives you've considered
Additional context
Zephyr version: 2.7.0
Sources:
Beta Was this translation helpful? Give feedback.
All reactions