Now this is not working. Neither the debugger increments the timer, neither it works on a controller. I tried with timers 2 and 3 - no change.
On simulation in MPLab X it's working, but when I load the program to a controller - nothing.
What am I doing wrong?!
Thanks!
stoyanoff
Joined: 20 Jul 2011 Posts: 375
Posted: Wed Jul 09, 2014 5:52 am
It seems the defined parameter
Code:
#define T1_INTERNAL 0x07
is not correct. I loaded manually T1CON register and everything works fine now. In my case the correct value was 69, but it depends on the situation.
I suppose the developer of CCS can fix this bug. I'm not sure how to open a ticket.
Best regards!
asmboy
Joined: 20 Nov 2007 Posts: 2128 Location: albany ny
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum