I am using my own board of MKV10Z32VLC7 & MKE02Z32VLC4 which belongs to Cortex-M0+ Based Micro controller.
As we have a product already with MKV10Z32VLC7 and we planned to upgrade to low cost micro controller we choose MKE02Z32VLC4. And now we are migrating the code from MKV10Z32VLC7 to MKE02Z32VLC4, we are facing the PE_DEBUGHALT error after the AMCLIB_PMSMBemfObsrvAB_F16() function call.
I have attached the PE_DEBUGHALT capture file.
It will be helpful when we solve this issue to proceed further.
Is there any motor control library changes required?