Giovanni,
That sounds like it might be it, for sure. Although now I'm having trouble duplicating it in my test project.
That's *good*, though, as it should allow me to narrow down the problem.
Search found 2 matches
- Sat Mar 31, 2012 8:08 pm
- Forum: General Support
- Topic: Trigonometry Causing PWM to stop
- Replies: 22
- Views: 19313
- Sat Mar 31, 2012 7:39 pm
- Forum: General Support
- Topic: Trigonometry Causing PWM to stop
- Replies: 22
- Views: 19313
Re: Trigonometry Causing PWM to stop
Microman, did you ever figure this out? I have the same problem, and don't know enough to quite figure it out. Although, I'm pretty sure it has something to do with my toolchain. In this case it's atan2(), but the same thing happens with sqrt(). When I stop the debugger, here's what I get:
Program ...
Program ...