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

NRF52832 board Thread safe support features

Hi Team,

We are going to use the NRF52832 soc with S132 Soft Device and SDK Version is 16 for our project purpose, we have some queries on this soc along with these SD and SDK( Ver :16 )

1. With the above mentioned combination how can we implement thread safe functionalities, is there any specific api's for that.

2. Is that NRF52832 is going to support "nrf_cc310 and ARM TrustZone CryptoCell" hardware accelerator, if it is not supporting is there any other library exactly compatible with this crypto cell.

3. If we want to port any RTOS to NRF52832 is there any specific precautions we need to take care.

4. Random number Generation functionalities are supported in NRF52832 Soc irrespective of crypto engine.

Regards,

Srinivas.V

Parents
  • Hi, 

    1. With the above mentioned combination how can we implement thread safe functionalities, is there any specific api's for that.

    In the SDK\components\libraries, you can have some libs like mutex, scheduler, atomic etc which are simulating RTOS features. The app needs to use them to make the app threadsafe. One good way is to use critical sections.

    NRFX_CRITICAL_SECTION_ENTER();


    NRFX_CRITICAL_SECTION_EXIT();

     

    2. Is that NRF52832 is going to support "nrf_cc310 and ARM TrustZone CryptoCell" hardware accelerator, if it is not supporting is there any other library exactly compatible with this crypto cell.

     No. They are only supported by nRF52840. 

     

    3. If we want to port any RTOS to NRF52832 is there any specific precautions we need to take care.

    There are no specific guidelines. We do not ensure that all the libraries are thread-safe, so you have to make sure in the application that all usage of library API is done using threadsafe mechanism inside the application. 

     

    4. Random number Generation functionalities are supported in NRF52832 Soc irrespective of crypto engine.

    The Random number generator (RNG) generates true non-deterministic random numbers based on internal thermal noise that is suitable for cryptographic purposes. Please see RNG — Random number generator

    -Amanda H. 

Reply
  • Hi, 

    1. With the above mentioned combination how can we implement thread safe functionalities, is there any specific api's for that.

    In the SDK\components\libraries, you can have some libs like mutex, scheduler, atomic etc which are simulating RTOS features. The app needs to use them to make the app threadsafe. One good way is to use critical sections.

    NRFX_CRITICAL_SECTION_ENTER();


    NRFX_CRITICAL_SECTION_EXIT();

     

    2. Is that NRF52832 is going to support "nrf_cc310 and ARM TrustZone CryptoCell" hardware accelerator, if it is not supporting is there any other library exactly compatible with this crypto cell.

     No. They are only supported by nRF52840. 

     

    3. If we want to port any RTOS to NRF52832 is there any specific precautions we need to take care.

    There are no specific guidelines. We do not ensure that all the libraries are thread-safe, so you have to make sure in the application that all usage of library API is done using threadsafe mechanism inside the application. 

     

    4. Random number Generation functionalities are supported in NRF52832 Soc irrespective of crypto engine.

    The Random number generator (RNG) generates true non-deterministic random numbers based on internal thermal noise that is suitable for cryptographic purposes. Please see RNG — Random number generator

    -Amanda H. 

Children
No Data
Related