LPC55S69: reinitialization RNG after PowerDown

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

LPC55S69: reinitialization RNG after PowerDown

801件の閲覧回数
EugeneHiihtaja
Senior Contributor I

Hi !

Should I reinitialize RNG peripheral after PowerDown mode ?

I can see initialization function of it :

void RNG_Init(RNG_Type *base)
{
/* Clear ring oscilator disable bit*/
PMC->PDRUNCFGCLR0 = PMC_PDRUNCFG0_PDEN_RNG_MASK;
#if !(defined(FSL_SDK_DISABLE_DRIVER_CLOCK_CONTROL) && FSL_SDK_DISABLE_DRIVER_CLOCK_CONTROL)
CLOCK_EnableClock(kCLOCK_Rng);
#endif /* FSL_SDK_DISABLE_DRIVER_CLOCK_CONTROL */
}

Are enable RNG  in PMC and Clock only and those registers retains while PowerDown.

It can be similar situation with HASHCRYPT but at list there some reset need to be executed :

void HASHCRYPT_Init(HASHCRYPT_Type *base)
{
#if !(defined(FSL_SDK_DISABLE_DRIVER_CLOCK_CONTROL) && FSL_SDK_DISABLE_DRIVER_CLOCK_CONTROL)
CLOCK_EnableClock(kCLOCK_HashCrypt);
#endif /* FSL_SDK_DISABLE_DRIVER_CLOCK_CONTROL */
RESET_PeripheralReset(kHASHCRYPT_RST_SHIFT_RSTn);
}

Regards,

Eugene

ラベル(1)
0 件の賞賛
返信
1 返信

743件の閲覧回数
FelipeGarcia
NXP Employee
NXP Employee

Hello Eugene,

 

In power-down mode, only some critical peripherals like the security controller are retained, internal SRAM values can be maintained, and the logic levels of the pins remain static. RNG module is not retained by power-down mode.

 

Best regards,

Felipe

-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

0 件の賞賛
返信