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

pca20006 (nrf51822 beacon) ble_app_uart example

Hello, Exist an example of application ble_app_uart for pca20006?I found ble_app_uart for pca10028,but I want a project for pca20006(beacon) .I want use this project for receive data from tablet/smartphone.Exist another example of aplication that receive data from tablet/smartphone? Thanks!

Parents
  • @John: No, you would need to port the example for PCA10028 to the PCA20006. The chip are the same.

    You would need to map the GPIO pins for button and LED accordingly. Also there is no 32kHz crystal on the PCA20006 board, so when you init the softdevice (SOFTDEVICE_HANDLER_INIT), you should use the 32kHz RC clock source.

  • Hi john, I also face same problem . May I know the your SDK version and softdevice version

    what is your RAM Size ?

    My board is 16 KB RAM , 256 KB flash , ibeacon PCA20006 .

    which place we have to put the MACRO ? NRF_CLOCK_LFCLKSRC_RC_250_PPM_4000MS_CALIBRATION

    My changes are done in PCA20006.h file below I attach these details. please verify it

    // Low frequency clock source to be used by the SoftDevice #ifdef S210 #define NRF_CLOCK_LFCLKSRC NRF_CLOCK_LFCLKSRC_XTAL_20_PPM #else #define NRF_CLOCK_LFCLKSRC {.source = NRF_CLOCK_LF_SRC_RC, .rc_ctiv = 0, .rc_temp_ctiv = 0, .xtal_accuracy=NRF_CLOCK_LFCLKSRC_RC_250_PPM_4000MS_CALIBRATION} #endif This is correct or wrong ?

Reply
  • Hi john, I also face same problem . May I know the your SDK version and softdevice version

    what is your RAM Size ?

    My board is 16 KB RAM , 256 KB flash , ibeacon PCA20006 .

    which place we have to put the MACRO ? NRF_CLOCK_LFCLKSRC_RC_250_PPM_4000MS_CALIBRATION

    My changes are done in PCA20006.h file below I attach these details. please verify it

    // Low frequency clock source to be used by the SoftDevice #ifdef S210 #define NRF_CLOCK_LFCLKSRC NRF_CLOCK_LFCLKSRC_XTAL_20_PPM #else #define NRF_CLOCK_LFCLKSRC {.source = NRF_CLOCK_LF_SRC_RC, .rc_ctiv = 0, .rc_temp_ctiv = 0, .xtal_accuracy=NRF_CLOCK_LFCLKSRC_RC_250_PPM_4000MS_CALIBRATION} #endif This is correct or wrong ?

Children
No Data
Related