Hello,
I am using simple_peripheral on cc2640. I want to save the energy by putting the controller to either shutdown or standby (best case shutdown).
I am also using the I2C module on cc2640. When i put the cc2640 to standby i am able to wake it up using wake up line and i can configure the I2C. Then the I2C works in normal way.
But when i put the cc2640 to shutdown mode and wake it up using the wakeup line. The controller starts running again but it does not configure the I2C again and i lose the I2C communication.
If i perform an external reset while controller is in shutdown mode then the I2C gets configured correctly. But i want to use the wake up line to wakeup the controller.
Can you please tell me why I2C does not get configured after the wakeup from shutdown? What is the difference between shutdown and standby?
Is it not possible to configure any peripheral once the controller comes from shutdown mode?
waiting for your kind reply.
Regards
MAbbas