Using BLE stack without external LSE quartz on CH582F

Hi.

I am using CH582F along with external quartz HSE 32MHz and LSE 32.768 kHz and BLE works fine when CLK_OSC32K=0. If I set CLK_OSC32K=1 or CLK_OSC32K=2, there is unstable operation when connected via BLE. I am not using RTC and Sleep Mode. How do I configure the application to not use the external LSE 32.768 kHz quartz?

I found such settings, but I don't understand how to use them and where to set the divider for BLE HSE timer.

uint8_t SelRTCClock; // bit7: 1: ble timer(HSE)(must disable sleep)


Update:?CH582F is used as a Peripheral device.



你好,如果使用BLE作為藍(lán)牙從機(jī)功能使用,可以使用內(nèi)部32K晶振,將代碼的此部分修改為1即可。

image.png

如果使用BLE作為藍(lán)牙主機(jī),則務(wù)必使用外部32K晶振。



How do I use this setting?

uint8_t SelRTCClock; // bit7: 1: ble timer(HSE)(must disable sleep)


image.png

箭頭標(biāo)注點(diǎn)進(jìn)入編譯器的配置,然后將config.h的32K參數(shù)填寫編譯器預(yù)處理處。


只有登錄才能回復(fù),可以選擇微信賬號(hào)登錄

国产91精品新入口,国产成人综合网在线播放,九热这里只有精品,本道在线观看,美女视频a美女视频,韩国美女激情视频,日本美女pvp视频