power save in esp32 with running can bus

divakara G R
Posts: 21
Joined: Thu Nov 21, 2019 10:11 am

power save in esp32 with running can bus

Postby divakara G R » Mon Dec 02, 2019 7:02 am

Hi all

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

PeterR
Posts: 621
Joined: Mon Jun 04, 2018 2:47 pm

Re: power save in esp32 with running can bus

Postby PeterR » Mon Dec 02, 2019 6:02 pm

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.
& I also believe that IDF CAN should be fixed.

divakara G R
Posts: 21
Joined: Thu Nov 21, 2019 10:11 am

Re: power save in esp32 with running can bus

Postby divakara G R » Thu Dec 05, 2019 4:31 am

Running CAN means i need to wake-up esp when ever data from CAN bus without any data loss
Regards
Divakara G R

divakara G R
Posts: 21
Joined: Thu Nov 21, 2019 10:11 am

Re: power save in esp32 with running can bus

Postby divakara G R » Thu Dec 05, 2019 4:33 am

And also am worrying about WiFi Ap's DTIM period and beacon interval, how much it will affect the power consumption of esp32
Regards
Divakara G R

WiFive
Posts: 3529
Joined: Tue Dec 01, 2015 7:35 am

Re: power save in esp32 with running can bus

Postby WiFive » Thu Dec 05, 2019 6:54 am

If you use an external can controller maybe you can use light sleep, otherwise probably not much.

divakara G R
Posts: 21
Joined: Thu Nov 21, 2019 10:11 am

Re: power save in esp32 with running can bus

Postby divakara G R » Fri Dec 06, 2019 4:36 am

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?
Regards
Divakara G R

divakara G R
Posts: 21
Joined: Thu Nov 21, 2019 10:11 am

Re: power save in esp32 with running can bus

Postby divakara G R » Tue Dec 17, 2019 7:51 am

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.....
Regards
Divakara G R

divakara G R
Posts: 21
Joined: Thu Nov 21, 2019 10:11 am

Re: power save in esp32 with running can bus

Postby divakara G R » Tue Dec 17, 2019 12:56 pm

Hello all


can anyone please do reply
Regards
Divakara G R

jcsbanks
Posts: 305
Joined: Tue Mar 28, 2017 8:03 pm

Re: power save in esp32 with running can bus

Postby jcsbanks » Tue Dec 17, 2019 1:47 pm

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.

divakara G R
Posts: 21
Joined: Thu Nov 21, 2019 10:11 am

Re: power save in esp32 with running can bus

Postby divakara G R » Wed Dec 18, 2019 5:13 am

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
Regards
Divakara G R

Who is online

Users browsing this forum: No registered users and 152 guests