Page 1 of 2

power save in esp32 with running can bus

Posted: Mon Dec 02, 2019 7:02 am
by divakara G R
Hi all

How can i implement power save mode in ESP32 while running CAN bus. Please anyone suggest me the any methods

Re: power save in esp32 with running can bus

Posted: Mon Dec 02, 2019 6:02 pm
by PeterR
What do you mean 'running the CAN bus'?

Do you mean 'will the hardware generate the ACK whilst in sleep mode'?
I don't know but easy enough to test with two ESPs back to back.

Re: power save in esp32 with running can bus

Posted: Thu Dec 05, 2019 4:31 am
by divakara G R
Running CAN means i need to wake-up esp when ever data from CAN bus without any data loss

Re: power save in esp32 with running can bus

Posted: Thu Dec 05, 2019 4:33 am
by divakara G R
And also am worrying about WiFi Ap's DTIM period and beacon interval, how much it will affect the power consumption of esp32

Re: power save in esp32 with running can bus

Posted: Thu Dec 05, 2019 6:54 am
by WiFive
If you use an external can controller maybe you can use light sleep, otherwise probably not much.

Re: power save in esp32 with running can bus

Posted: Fri Dec 06, 2019 4:36 am
by divakara G R
THANK YOU

In Wifi whats the benefits of beacon interval and DTIM

Can you please suggest me the benefits of beacon interval and DTIM and in which power save mode its useful means shall we use these in light sleep and deep sleep also, because in light sleep and deep seep we are putting wifi to off then switching esp to power save mode so that?

Re: power save in esp32 with running can bus

Posted: Tue Dec 17, 2019 7:51 am
by divakara G R
Hi All,


I have enabled automatic light sleep in esp-idf and using esp32 both Bluetooth and WiFi, its not going to sleep.

can anyone help me please as soon.....

Re: power save in esp32 with running can bus

Posted: Tue Dec 17, 2019 12:56 pm
by divakara G R
Hello all


can anyone please do reply

Re: power save in esp32 with running can bus

Posted: Tue Dec 17, 2019 1:47 pm
by jcsbanks
AFAIK you cannot power save whilst being able to receive on CAN without losing data, unless the ESP32 is the only device on the bus doing the ACK, then there should be retransmits. You can wake the ESP32 on CAN bus activity due to change in level on the Rx pin.

Re: power save in esp32 with running can bus

Posted: Wed Dec 18, 2019 5:13 am
by divakara G R
Hi

Thank you, for your reply,

Okay we will use CAN as GPIO wake-up.


Can you please help me in another task there am using both Bluetooth and WiFi, and trying to put esp32 to light by configuring auto light sleep enable, but its not working esp32 is still consuming 100mA