so since pbp will only accept 3(3.88mhz) or 4 ( 4mhz) as the define osc , it means all the timed commands such as pause , pauseus , RCtime etc are 4 times longer than shown in code ??????????????
if no define osc is given then it assumed to be 4mhz
sort of sucks when u want go low power / osc for a chip
btw in my application the current draw is as follows with only a osc speed change
1mhz = 1.04ma - running , sleep mode = 0.24ma for all settings
2mhz = 1.28ma - running
4mhz = 1.6 ma - running
8mhz = 2.23ma - running
16mhz=3.47ma - running
16mhz - 4mhz + ppl = 1.6ma
32mhz - 8mhz + ppl = 5.96ma
64mhz - 16mhz+ppl = 10.35ma
when powering the device from a small coin battery and when you dont need the higher speed , 1mhz is a better option
although0.56ma is not a lot between 1mhz and 4mhz it still is a waist when it not required to be so , just to satisfy PBP compile setting for 4mhz
cheers
sheldon
Bookmarks