2025-06-24 10:35 AM
We are using MCWB 6.3.2
We generated a project that is working fine. However, testing our motor close to its peak current, we have been getting an over current fault.
We decided to increase Over current protection (OCP) Digital Filter Duration and Threshold (well within our system limits). We then go to 'Project HW & Info' and Run CubeMx. From there we generate the project.
Our main.c file is intact as well as the peripherals and pin configuration. However, we are not sure that the Digital Filter Duration and threshold have been updated.
Would you please, confirm that this is the correct workflow and where in the code I could confirm that our changes made through? We read somewhere that topology changes are not possible at this point, but this is not considered a topology change, correct? For us to generate new project every time would be very laborious giving that we have an extensive use of peripherals.
Would it be possible to turn OC protection off and even DP off momentarily for testing purposes only?
Best regards