Aug 14, 2020
04:05 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Aug 14, 2020
04:05 AM
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.
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.
2 Replies
Sep 28, 2020
04:02 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sep 28, 2020
04:02 PM
Hi Sagar,
Do you got solution for this issue? can you suggest me?
Do you got solution for this issue? can you suggest me?
Oct 02, 2020
01:00 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Oct 02, 2020
01:00 AM
Hi sagar,
this sounds like an issue with your WDT or an invalid NAC value. Please double check.
Best regards
this sounds like an issue with your WDT or an invalid NAC value. Please double check.
Best regards