Skip to main content
Visitor II
July 8, 2025
Question

ADDRERRF bit getting set on PKA init

  • July 8, 2025
  • 2 replies
  • 371 views

Hello,

I am trying to use the PKA module on a STM32U5 controller. I have configured the clock at 160Mhz and also initialized the Ring. However, when I try to initialize the PKA, it runs into ADDRERRF = 1, I was expecting ofcourse INITOK to be 1. Does anyone have Idea what am I missing here or what might be causing the ADDRERRF?

 

Thanks,

Abhi

    This topic has been closed for replies.

    2 replies

    Visitor II
    July 8, 2025

    Trying to clarify to avoid misunderstanding. I meant both the bits ADDRERRF and INITOK are set to 1 after I call the init function. I see in the debugger that the RNG is running.

    Technical Moderator
    July 10, 2025

    Hello @abhisheksirsikar 

    Are you using the HAL library? 

    Visitor II
    July 10, 2025

    yes. I just ignored the error bit and everything works as expected. But I couldn’t figure out why the error bit is getting set

    ST Employee
    July 17, 2025

    Hi @abhisheksirsikar 

     

    This post has been escalated to the ST Online Support Team for additional assistance.  We'll contact you directly.

     

    Regards,

    Billy