I am currently using Power_Ip_PerformReset(&Power_Ip_HwIPsConfigPB_BOARD_InitPeripherals); to reset my board when I call it through outside input, however this is appearing to cause some strange issues with my i2c where some values are getting messed up, I have a data request that should only return values in the 8th and 1st bit, but I am getting a 1 in the 3rd bit which should be impossible with the register I am reading from. When I cycle the power the issue goes away until I call the reboot again at which point I need to cycle power again.
What other options do I have to reset the program to the start from a function call?
Hi @pb632146,
Do you have available a project to share so I can replicate this issue in our boards? Also, could you try to read the reset reason just to confirm if a SW reset is being correctly performed?
Best regards,
Julián