You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using AT24C512 EEPROM but once the device access the chip it does not go to low power.
I am currently keeping the nrf51822 in sleep. when I press button I am storing it to EEPROM and sleeping again. but now I checked the current after this implementation and I am getting 3.4mA of current. if I reset the whole system. power is below mA(I am using INA219 for measuring current). but as soon as EEPROM operation is done its not going below 3.4mA. As the AT24C data sheet shows on stop bit it should go to standby mode and use less current(3-6uA). does the Wire library sends the stop condition after every transmission?
The text was updated successfully, but these errors were encountered:
shirish47
changed the title
does wire send Stop condition?
does Wire library send Stop condition?
Oct 18, 2016
I checked wire.h on mbed ble. it has following line for stop condition. if(issue_stop_condition) { twi->EVENTS_STOPPED = 0; twi->TASKS_STOP = 1; while(twi->EVENTS_STOPPED == 0) { //do nothing, wait for stop sequence is sent } } return 0; }
while in wire.cpp I downloaded from this repo has if(stop) i2c_reset(&i2c);
I want to save power after every operation to EEPROM AT24C512. So I have to send stop signal so AT24C can go in standby mode. please help. why does redbear implementation resets?
I am using AT24C512 EEPROM but once the device access the chip it does not go to low power.
I am currently keeping the nrf51822 in sleep. when I press button I am storing it to EEPROM and sleeping again. but now I checked the current after this implementation and I am getting 3.4mA of current. if I reset the whole system. power is below mA(I am using INA219 for measuring current). but as soon as EEPROM operation is done its not going below 3.4mA. As the AT24C data sheet shows on stop bit it should go to standby mode and use less current(3-6uA). does the Wire library sends the stop condition after every transmission?
The text was updated successfully, but these errors were encountered: