Quantcast
Channel: Forums - Recent Threads
Viewing all articles
Browse latest Browse all 262198

CC2650 : Status of TRNG

$
0
0

Hi,

I am using CC2650 with BLE stack 2.1

In project, TRNG engine is used for random number generation.

To start TRNG :

Power_setDependency(PERIPH_TRNG);

HalTRNG_InitTRNG();

To stop TRNG :

Power_releaseDependency(PERIPH_TRNG);

TRNGDisable();

When TRNGStatusGet() is used to check the status in various scenarios via UART , following are observed.

Scenario 1 :

Start TRNG : 0x01000080 - indicating TRNG_NUMBER_READY and TRNG_NEED_CLOCK ( response obtained every time )

Stop TRNG : 0x01000000 - indicating TRNG_NUMBER_READY (after few responses, UART stops responding. Start TRNG also doesn't respond with status value) 

Scenario 2 :

Stop TRNG : no response. UART doesn't respond for Start TRNG too.

Also if stop TRNG is done only with TRNGDisable(), then the response 0x01000000 is obtained every time in scenario 1 and scenario 2.

Please provide some suggestion on this.

Also, when will the status be seen for TRNG_FRO_SHUTDOWN ?

Regards,

Krithiga.

 


Viewing all articles
Browse latest Browse all 262198

Trending Articles