Can driver usage.

snahmad75
Posts: 445
Joined: Wed Jan 24, 2018 6:32 pm

Can driver usage.

Postby snahmad75 » Tue Jul 10, 2018 2:32 pm

Hi,

Have anyone used can driver on esp32 board. Is this reliable? any performance measurement will be appreciated.


Thanks,
Naeem

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

Re: Can driver usage.

Postby jcsbanks » Wed Jul 11, 2018 1:05 pm

viewtopic.php?f=12&t=380

I have tested 8000 frames per second with no errors once the driver is optimised (otherwise you get multi millisecond delays on receive and lost frames on sending). It still manages that with multiple other tasks and CPU speed reduced to 80MHz.

snahmad75
Posts: 445
Joined: Wed Jan 24, 2018 6:32 pm

Re: Can driver usage.

Postby snahmad75 » Sat Jul 28, 2018 10:55 am

Have you tested using this latest can driver.

https://github.com/espressif/esp-idf/bl ... iver/can.c


I am reading can frame using task/thread every 10 ms. I am losing frames time to time. it cannot cope high traffic on can bus.

Who is online

Users browsing this forum: ESPBoards and 108 guests