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

SDK 15.3 and the blox nina-b3 starting development

Hello everbody,

I readed alot about the nrf52480 "how to flash softdevice and the other stuff", but i cannot get the ble_app_gls working out of the scratch.

I have the Arduino Nano 33 BLE which it has the blox nina-b3 with integrated nrf52480, i soldered the swd pins to connect the JLink and flashed the firmware via segger ide or via make gcc file, build and flashing works without problems.

With my Samsung S10 i see the 'Nordic Glucose' with the  Android Bluetooth Manager and nRFConnect but i cannot connect to it.

When i want to connect i ask my if i want create a connection, when i tap on ok it, disconnects every times.

I flashing the Softdevice S140, i tried SDK 15 and SDK 15.3 but it returns the same result.

On the Samsung i have following error:
Error 133(0x85): GATT ERROR or Connection terminated by Peer (status 19)
 

Can someone show me what im doing wrong?

My Machine: Ubuntu 16.0 LTS x64
Board: Arduino Nano 33 BLE

Parents Reply Children
  • Hi Andreas,

    In the sdkconfig.h i tried with

    NRF_SDH_CLOCK_LF_SRC, CLOCK_CONFIG_LF_SRC, NRFX_CLOCK_CONFIG_LF_SRC to 0 and i tried the default 1.

    I set the NRF_SDH_CLOCK_LF_ACCURACY to 1 because i hed an error on compilation time. 

  • Hi.

    Please try this:

    // <h> Clock - SoftDevice clock configuration
    
    //==========================================================
    // <o> NRF_SDH_CLOCK_LF_SRC  - SoftDevice clock source.
     
    // <0=> NRF_CLOCK_LF_SRC_RC 
    // <1=> NRF_CLOCK_LF_SRC_XTAL 
    // <2=> NRF_CLOCK_LF_SRC_SYNTH 
    
    #ifndef NRF_SDH_CLOCK_LF_SRC
    #define NRF_SDH_CLOCK_LF_SRC 0
    #endif
    
    // <o> NRF_SDH_CLOCK_LF_RC_CTIV - SoftDevice calibration timer interval. 
    #ifndef NRF_SDH_CLOCK_LF_RC_CTIV
    #define NRF_SDH_CLOCK_LF_RC_CTIV 16
    #endif
    
    // <o> NRF_SDH_CLOCK_LF_RC_TEMP_CTIV - SoftDevice calibration timer interval under constant temperature. 
    // <i> How often (in number of calibration intervals) the RC oscillator shall be calibrated
    // <i>  if the temperature has not changed.
    
    #ifndef NRF_SDH_CLOCK_LF_RC_TEMP_CTIV
    #define NRF_SDH_CLOCK_LF_RC_TEMP_CTIV 2
    #endif
    
    // <o> NRF_SDH_CLOCK_LF_ACCURACY  - External clock accuracy used in the LL to compute timing.
     
    // <0=> NRF_CLOCK_LF_ACCURACY_250_PPM 
    // <1=> NRF_CLOCK_LF_ACCURACY_500_PPM 
    // <2=> NRF_CLOCK_LF_ACCURACY_150_PPM 
    // <3=> NRF_CLOCK_LF_ACCURACY_100_PPM 
    // <4=> NRF_CLOCK_LF_ACCURACY_75_PPM 
    // <5=> NRF_CLOCK_LF_ACCURACY_50_PPM 
    // <6=> NRF_CLOCK_LF_ACCURACY_30_PPM 
    // <7=> NRF_CLOCK_LF_ACCURACY_20_PPM 
    // <8=> NRF_CLOCK_LF_ACCURACY_10_PPM 
    // <9=> NRF_CLOCK_LF_ACCURACY_5_PPM 
    // <10=> NRF_CLOCK_LF_ACCURACY_2_PPM 
    // <11=> NRF_CLOCK_LF_ACCURACY_1_PPM 
    
    #ifndef NRF_SDH_CLOCK_LF_ACCURACY
    #define NRF_SDH_CLOCK_LF_ACCURACY 1
    #endif
    
    // </h> 

    Best regards,

    Andreas

Related