Solved
Tesla DeLoreanBest answer
Guru
Apr 10, 2019 4:02 PM UTC
Sorry, not looking to replicate CubeMX failures.
Does the faster code fail on the NUCLEO?
Make sure there are sufficient wait states on the FLASH.
Check voltages and capacitors on VCAP pins.
Make sure you have an adequate STACK allocation.
Use a proper Hard Fault Handler, so you can better identify the source of the fault, it occurs at one location, or is more randomized in nature.
Make sure the clock configuration code clears the auto/local variable structure properly.
Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
