Hello @zhengjianfei1 ,
Sorry for late reply. I'm not sure how the HSE firmware is corrupted, but I do know about how to recover the HSE firmware. Please see attachment.
You need to prepare a S32DS project to download HSE FW pink image to flash, then just do as the doc shows.
It should be noted that the proper operation of HSE depends on other clock sources, so it is best to follow the recommended configuration in the S32K3 RM and HSE RM.
namnguyenviet_0-1669193421484.png
Best Regards,
Nam