Does Zephyr support the 58 series?

Do the zephyr examples currently only exist in the main branch because chip adaptations for various series aren’t complete yet?

I noticed the following note in the bap_broadcast_src_with_classic_bt example’s readme:

BLE Audio Player (Source)

Source path: example/zbt/bap_broadcast_sink

## Supported Platforms

<!-- Which boards and chip platforms are supported -->

+ sf32lb52x

When compiling and flashing onto the 58LB, it seems that all HCI commands are timing out.

Use the 52-letter series for source, such as 52D or 52J. Do not use 525. The 58 series is an earlier chip and should not work for source.

Depending on the chip version of 58: 58A1 won’t work, but 58A2 should work in theory. If it doesn’t, applying a patch should fix it. Check whether you have 58A1 or 58A2. During compilation, there’s an option in menuconfig; if it doesn’t match, the device will fail to boot.

Latest SDK:
SiFli-SDK: SiFli-SDK

So, the 58A1 chip definitely can’t use applications related to Zephyr, right? If so, is SDK support available for developing LE AUDIO-related applications?

The ZBT example on the SDK mainline has not been officially released yet; we will verify its support across various platforms.
Additionally, zephyr (not sifive-sdk) has not yet been ported to the 58 series.

When is SiFli expected to support the SF32LB58 series on Zephyr? We’ve been using the nRF53 with Zephyr, and are planning to switch to the SF32LB58, but porting our project to a new OS would cost far too much time and resources. I need to evaluate it.

will you develop some applications on LCPU, e.g. sensor hub task?

generally not need. My company develop student learning device use e-paper, mostly display and CPU processing, not like smart watch has acc sensor.

Then LCPU is dedicated for bluetooth task, right? Is low power mode needed by HCPU side ? E.g. How fast should HCPU restore from sleep state?

LCPU can not support low power, and What has this to do with “SiFli support the SF32LB58 series on Zephyr” ?

What do you mean “LCPU can not support low power”? LCPU does support low power. If LCPU is not used by tasks except bluetooth, then it would work just like SF32LB52 series, i.e. this core is not open to user. It would simplify our porting effort on Zephyr.

yeah, My company self-innovated OS can set LCPU only use bluetooth, others tasks use main core. Zephyr is the most used os in the embedded field, I hope can use SF32LB52 and SF32LB58 in Zephyr.

1 Like