This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

nrf52840 can not scan any BLE device or being scanned by nRF Connect on my customer board with example "ble_app_att_mtu_throughput"

With my custom board I can program it, debug it and it output log ok, but just can not be scanned or scanning any other ble devices. 

besides: the code works well in other demo board.

the output log as fallows:

[00:00:00.000,000] <debug> ble_scan: Adding filter on CPS_xxx name
[00:00:00.000,183] <info> app: ATT MTU example started.
[00:00:00.000,183] <info> app: Press button 3 on the board connected to the PC.
[00:00:00.000,183] <info> app: Press button 4 on other board.
[00:00:00.000,213] <info> app: This board will act as responder.
[00:00:00.000,213] <info> app: Starting advertising.
[00:00:00.008,056] <info> app: Starting scanning.
[00:00:00.008,209] <debug> ble_scan: Scanning

 

Thanks.

Parents
  • Hi Zxd,

                one thing that always got me moving from the dk to my custom board was the clock source. Check sdk_config.h for NRF_SDH_CLOCK_LF_SRC. The DK board has a crystal so the default for config is to use the crystal. The Synth option combines the hf clock with the lf clock to fudge it. However it has high power drain. The RC one is the one to use if you don't have a crystal installed.

    hope this helps

    Paul

Reply
  • Hi Zxd,

                one thing that always got me moving from the dk to my custom board was the clock source. Check sdk_config.h for NRF_SDH_CLOCK_LF_SRC. The DK board has a crystal so the default for config is to use the crystal. The Synth option combines the hf clock with the lf clock to fudge it. However it has high power drain. The RC one is the one to use if you don't have a crystal installed.

    hope this helps

    Paul

Children
No Data
Related