Skip to main content
Associate
October 15, 2025
Question

IOC Code generation doesn't work for PVD

  • October 15, 2025
  • 1 reply
  • 289 views

In the IOC editor, under PWR, and Monitoring, I have set below

stacatoengineer_0-1760541467663.png

stacatoengineer_1-1760541493038.png

stacatoengineer_2-1760541503703.png

and, I read that below in NVIC needs to be set

stacatoengineer_3-1760541549745.png

When I look at git diff to observe changes, no files except ioc have been changed. How do I get it to work. I am using CubeIDE 1.19.

 

 

 

1 reply

TDK
Super User
October 15, 2025

Did you regenerate the code?

Include your IOC file if you can.

"If you feel a post has answered your question, please click ""Accept as Solution""."
Associate
October 15, 2025

Yes, in addition to saving the IOC file and letting it do its thing. I navigated to Project > Generate Code and executed it.

I can't share the IOC file unfortunately. Also HAL_PWREx_PVD_PVM_IRQHandler()  and the weak HAL_PWR_PVDCallback() already exists in stm32u5xx_hal_pwr_ex.c

Ghofrane GSOURI
Technical Moderator
October 16, 2025

Hello @stacatoengineer 

First let me thank you for posting.

Could you please send me your IOC file via private message, along with a screenshot of the relevant git diff? This will help me better understand your configuration and the changes made.

THX

Ghofrane

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.