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

Facing an error while initializing nrf crypto library and ble stack together.

Development Kit - NRF 52

SDK - 15.0.0

Softdevice - S132

Computer Platform - Windows 7 64 Bit

I am facing an error in running the application when I initialize both the crypto library and the ble stack together. However, when I initialize either the crypto library or the ble stack alone, I don't face any errors. Below is the code that I am trying to run.


Fullscreen
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/**
* Copyright (c) 2014 - 2018, Nordic Semiconductor ASA
*
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification,
* are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright notice, this
* list of conditions and the following disclaimer.
*
* 2. Redistributions in binary form, except as embedded into a Nordic
* Semiconductor ASA integrated circuit in a product or a software update for
* such product, must reproduce the above copyright notice, this list of
* conditions and the following disclaimer in the documentation and/or other
* materials provided with the distribution.
*
* 3. Neither the name of Nordic Semiconductor ASA nor the names of its
* contributors may be used to endorse or promote products derived from this
* software without specific prior written permission.
*
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

In the main function, you can see that I'm try to initialize both the crypto library and the ble stack, which is when I'm facing an error.

The screenshots of the error are attached.

Now, when I dont initialize the crypto library and run the same program, I don't see any errors.

Can someone tell me what I'm doing wrong here?