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

PCA10100 eddystone example

Hi,

I want to test eddystone example with nRF52833.

The default project doesn't include PCA10100.

I am trying to create one, but it always stuck in the function nrf_crypto_rng_backend_init file nrf_crypto_rng.c.

The project is working fine with PCA10056 and PCA10040.

Would you please help me to fix this.

Thanks you.

SDK 17.0.0.

Platform: PCA10100.

SES and Keil.

project ble_app_eddystone.

Project link:

https://www.dropbox.com/s/2t0vbx6sglx2ezf/BlueNor_eddystone_copy.rar?dl=0

  • Hi Leo

    This error is expected, as the CryptoCell peripheral is not present on the nRF52833, so there's no point in trying to use it.

    You will have to use a SW crypto backend, but you don't need to make any significant changes, as the nrf_crypto library provides a unified API. The only thing you need to do is to disable the CC310 backend in sdk_config.h by setting NRF_CRYPTO_BACKEND_CC310_ENABLED to 0, and enable the Oberon backend by setting NRF_CRYPTO_BACKEND_OBERON_ENABLED to 1, as well as setting the NRF_CRYPTO_BACKEND_NRF_HW_RNG_ENABLED to 1. You can compare with the sdk_config.h of the pca10040 project to see how this should be done, and they should be identical with regard to crypto configuration.

    Best regards,

    Simon

Related