Controller TLE9877 is not working without debugger on my hardware

Announcements

Webinar: Integrated solutions for smaller, simpler low-voltage motor control design.
Join the webinar to experience!

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
User19538
Level 1
Level 1
Hello ,
I am using TLE9879 evaluation board's example code -"BLDC_SENSORLESS_FOC_LIN_EXAMPLE_TLE987X". I have just modified the controller version as I am using tle9877 controller.On board we dont have external OSC or crystal.

My controller tle9877 is not working without debugger. When I flash the code then only my code works once, when I reset the controller it stops working.
When controller is reseted it take 20mA current, it means that controller is alive as it is taking current.
When I debug the code it works , when I flash the code (only by enabling reset and run) then it works. But as I reset the controller or power cycle it , it stops working.
I think after reset my code is not reaching to main() or reset_handler is not getting called.

please suggest me solution.
0 Likes
3 Replies
User20310
Level 1
Level 1
First like received
Hi Sagar,
Do you got solution for this issue? can you suggest me?
0 Likes
Lykaon
Employee
Employee
First like received
Hi sagar,
this sounds like an issue with your WDT or an invalid NAC value. Please double check.
Best regards
0 Likes
rohitrawat
Level 4
Level 4
Distributor
First solution authored 25 replies posted 50 sign-ins

hey @User19538 ,

 

Copy the TLE9879 startup file from the TLE9879QXAx folder to TLE9877QXAx folder then it will work.

Best Regards,

Rohit

 

0 Likes