- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi guys,
I am working with XMC4700 µC. The problem I am facing is my µC doesn't run some codes. It skips them. Example of one such problem is:
"I use COUNTER APP to count some spikes in a signal. But my µC don't read that function at all.
When I start the COUNTER function " COUNTER_Start(&COUNTER_CSO2_BA); " using this line, my µC Reads till this line. But then it don't enter the COUNTER function."
Why does this happen.?? Kindly explain
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Could you please let us know where exactly the control goes ? Does it just bypass the line of code or it stops executing the specific code. In build settings are you using any optimizations?
Best Regards,
Vasanth
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Vasanth,
Thanks for the reply.
Yes, It bypass the line and goes to the next line. My µC don't execute the COUNTER start function. I have not done any changes in the build settings.
Regards,
Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Arun,
Will you be able to share the code with us to recreate the issue at our end? Or are you testing any already existing example. Then let me know how have you imported the project?
Best Regards,
Vasanth