CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug Reports on this forum. Send them to support@ccsinfo.com

I2C Slave problem from >5.085
Goto page Previous  1, 2
 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
Ttelmah



Joined: 11 Mar 2010
Posts: 15723

View user's profile Send private message

PostPosted: Tue Mar 24, 2020 1:04 pm     Reply with quote

Generally also, if a device sleeps when not working, the total power
consumption, will often remain pretty constant over a wide range of
speeds. There is an upper speed where the core starts to actually run
inefficiently, and a low speed where the sheer time the other devices
have to be powered becomes the major power cost. Keep your
operating speed between these limits and you have the lowest power
In the case of low power PIC's the speed where the core starts to run
inefficiently may be well above what you expect.
In the case discussed here increasing the value of the I2C pullups
will reduce the power needed when driving the I2C. Keep the I2C clock
rate low, and the losses into the bus capacitance will be minimised.
monsun



Joined: 17 Jan 2012
Posts: 15

View user's profile Send private message

PostPosted: Tue Mar 24, 2020 5:04 pm     Reply with quote

Thank you guys for help with debugging, this is AFE pcb for sensors which in standard works on battery but have also software on PC to make some service adjustments. Working clock have to be pretty fast because it is making 100 readings in a second period which are averaged for bigger precission. It is also used in IOT application where it is put in sleep and wakes up for 2 seconds to make readings.
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
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


Powered by phpBB © 2001, 2005 phpBB Group