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

nrf51822 rev 3 chip only scanable in usb dongle(pca10000)

Hi.

I use nrf51822 rev.3 build number CEAAE00(0x0079) package is WLCSP. Before I got a experience already develop wearable device using rev.1 chip. And that board work perfect with dongle and smartphone.

Recently I changed my ic rev.1(QFN) to rev.3(WLCSP) and Softdevice 8 and SDK is v8.1.0. and then this chip is work properly with USB Dongle(PCA10000). but not work(not scanable) with smartphone(Android and also iphone).

how can i scan my device in smartphone?

Summarize..

  • recently changed SD 5.2.1 to SD 8
  • also change sdk 5 to 8.1.0
  • chip revision change 1 to 3
  • scan and connect working with dongle
  • but not scan in smartphone(iphone, android) also not connectable
  • also example(sdk\examples\ble_peripheral\ble_app_uart) that include in sdk is not work too.

schematics(only antenna part) image description

I attachment packet sniffer data.

sniffer data

sniffer data is contains adv packet with channel 37, 38, 39. but not scan_req by smartphone.

#Add1 project option change for ram size(16kB ram) image description

nrf sniffer and wireshark image description

#add2 packet save as pcapng

wire_newboard.pcapng

part of bom

CRYSTAL FC-12M_32.768KHz EPSON

CRYSTAL FA-128_16MHz EPSON

BALUN BAL-NRF02D3 ST

source Part of ble init

partofble.c

if you send email to "[email protected]" i will send a project by email.

  • Hi wooseok,

    Which software I should use to open your sniffer trace data ? If possible please capture a trace with our sniffer.

    Your rev 3 chip is with 16kB RAM, you may need to modify the project setting of the SDK examples because they were made for the nRF51422 QFAC which has 32kB RAM.

    Which app did you use on iOS and Android to scan for devices ? Have you tried the nRF Master Control Panel app on Android ?

  • Thanks reply Hung.

    trace data is just text data. please open your notepad or just you got a text editor(even keil editor). and that data is export from nordic rnf sniffer and wireshark. trace data export in wireshark [file -> export packet dissections -> as "Plain Text" file...]

    And I already change example project. ram size to 16kB(0x6000 -> 0x2000) in keil project option(Read/Write memory areas). please refer upper add image in post.

    and ios and android scan using nordic's app (Master Control Panel v3.4.1).

  • @wooseok: Could you capture again a trace that has the following:

    • You device advertises
    • MCP on PC get connected (with the dongle)
    • Disconnect MCP on PC, then use nRF MCP on Android to try to connect

    After that, in Wireshark, click File -> Save and save the trace as .pcapng file. There is more information in the pcapng than the .txt file.

    I suspecting there could be something wrong with the 32kHz crystal. Could you send me the BOM of your board, also layout if possible. Could you send me the source code of the project you are testing with, it could be the SDK's example that you modified to test on your board ?

  • could tell me your email? layout , source and bom is need to secure(or private?? anyway...).

    and add packet save as pcapng above.

  • Anyway i have to tell you about code.

    My code is work properly confirm by another board. Same binary download to another board. My another board using rev.3 chip with package is QFN(QFAAH00(0x0072)) is work fine.(32khz xtal, 16mxtal and antenna part is different current board... another board not use balun and chip antenna. use pcb antenna.)

    thanks for your kindness.

Related