Hi guys,
Really simple program is not behaving. Works on a dsPIC33FJ256GP710A. I'm currently using a dsPIC33FJ128MC804, Same error occurs on the dsPIC33FJ32MC204. http://pastebin.com/VkUtBwyv
The result of the equation should be 1, which it is when I comment out the initPLL() function. When the processor is working a proper speed the value comes out at 3.4115467 consistently.
proper code link:
http://pastebin.com/t90hm4hr
Any help is greatly appreciated,
Dan
Really simple program is not behaving. Works on a dsPIC33FJ256GP710A. I'm currently using a dsPIC33FJ128MC804, Same error occurs on the dsPIC33FJ32MC204. http://pastebin.com/VkUtBwyv
The result of the equation should be 1, which it is when I comment out the initPLL() function. When the processor is working a proper speed the value comes out at 3.4115467 consistently.
proper code link:
http://pastebin.com/t90hm4hr
Any help is greatly appreciated,
Dan
Last edited: