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

ble_app_uart with Android 5.1 failed

I try launch example Nordic UART and get error: Error 133 (0x85) GATT ERROR

I need use stack for nRF51822 without external 32KHz crystal.

Here -> softdevice work with Android properly, but  IMPOSSIBLE USE this SoftDev version without external 32KHz crystal.

Initialization with use any value param:

NRF_CLOCK_LFCLKSRC_RC_250_PPM_ ..._CALIBRATION 

give when connect to Android:  Error 133 (0x85) GATT ERROR

Exaple do not work absolutely with Softdevice S130 v1 and v2!

Dear Nordic, HOW TO USE YOUR SDK PRODUCT without external 32KHz crystal?

Chip:  nRF51822 QFAA 

SDK:   nRF5 SDK works with S130 v2 12.3.0

Softdevice: S130-SD-v2 S130 nRF51 SoftDevice 2.0.1

Test board: PCA10001

Parents
  • Hi,

    Unfortunately the S130 Softdevice is not compatible with your kit. The PCA10001 kits use an nRF51822 revision 1 or 2, but the S130 only supports revision 3. Please refer to this compatibility matrix

    I would recommend that you upgrade your kit to get the benefit of the new S130 softdevice and because IC revisions 1 and 2 are no longer available on the market. 

    Best regards
    Martin

  • Hi Martin.

    I use custom board with nRF51822 QFAA H10 (0x008f)

    This chip with revision 3...

  • Ok, so on your custom board S130 v2 works only when you have an external crystal? The same board and the same softdevice does not work when you remove the crystal?Can you show me how you configure the Softdevice to use the RC clock?

  • SDK: nRF5_SDK_12.3.0_d7731ad

    SD: nRF5_SDK_12.3.0_d7731ad/components/softdevice/s130/hex/s130_nrf51_2.0.1_softdevice.hex

    Project: ble_app_uart_pca10028_S130

    Chip: nRF51822 QFAA H10

    C/C++ Compiler:

    BLE_STACK_SUPPORT_REQD
    NRF51822
    BOARD_PCA10001
    NRF_SD_BLE_API_VERSION=2
    S130
    NRF51
    SOFTDEVICE_PRESENT
    SWI_DISABLE0

    Linker:

    ROM 0x1b000 - 0x3BFFF

    RAM 0x20001fe8 - 0x20003FFF

    CSTACK 0x600

    sdk_config.h

    #define CLOCK_CONFIG_LF_SRC 0       // 1

    pca_10001.h

      // Low frequency clock source to be used by the SoftDevice
    #define NRF_CLOCK_LFCLKSRC      {.source        = NRF_CLOCK_LF_SRC_RC,  \
                                     .rc_ctiv       = 16,              \
                                     .rc_temp_ctiv  = 2,               \
                                     .xtal_accuracy =  0}

    I can see device in RF, but device unconnectable.

    nRF Connect LOG display give:  Error 133 (0x85) GATT ERROR

    1. What happens with your board after it disconnects? Does it reset?
    2. Have you debugged your board? 
    3. Do you get any logging info out of the nRF51?
    4. Could it be that the application fails?
    5. Do you have a development kit or a different board that you can try the same code on?

     

Reply Children
Related