Hi, 

The default CPU time frequency of Mynewt OS and Nimble stack is 1 MHz, I try to 
change the CPU time frequency to be 2 MHz, I modified the related 2 config 
files:
configure file “hw/bsp/nrf52dk/syscfg.yml” as
    CLOCK_FREQ:
        description: 'TBD'
        value:  2000000 
configure file “kernel/os/syscfg.yml” as
    OS_CPUTIME_FREQ:
        description: 'Frequency of os cputime'
        value: 2000000

The app “bleperiph" is running and the CPU time frequency is 2 MHz, also the 
BLE “nimble-bleprph” peripheral  can be scanned by LightBlue of iOS APP, and 
show 1 service is there. However, when I try to connect it ,an error massage 
“Connection Alert: Timeout interrogating the peripheral”

When change back above 2 syscfg parameters to 1000000, it can be connected.

And app “bletiny” is the same.

Is there any  missed config setting in my test? How to change the CPU time 
frequency to 2 Mhz and Nimble device can be connected?

Thanks,

Jiacheng 


Reply via email to