Search found 445 matches

by snahmad75
Wed Sep 05, 2018 1:24 pm
Forum: General Discussion
Topic: How to set dual core mode?
Replies: 6
Views: 13505

Re: How to set dual core mode?

How to specify Esp32 WIFI to use CPU0 or CPU1?
by snahmad75
Wed Sep 05, 2018 12:29 pm
Forum: General Discussion
Topic: wifi bcn timeout error
Replies: 10
Views: 17007

Re: wifi bcn timeout error

Did you resolve it.

I am using external ram for wifi with SD card to read large size files.
by snahmad75
Wed Sep 05, 2018 9:00 am
Forum: ESP-IDF
Topic: Wifi heap allocation failure.
Replies: 1
Views: 3298

Wifi heap allocation failure.

Hi, Kindly see below. I am getting these heap allocation errors time to time. I am using Wifi with external ram. I access my my http web server mongoose using SD card. May be it is due to slow SD card access. how can increase WIFI buffer using menuconfig. Once restart esp32 firmware. all starts work...
by snahmad75
Fri Aug 24, 2018 7:45 pm
Forum: ESP-IDF
Topic: mg_mgr_poll second paramater
Replies: 1
Views: 3071

mg_mgr_poll second paramater

mg_mgr_poll(&mgr, ?); My platform is Esp32 What is purpose of second paramater. I notice if have 1 tcp connection than mg_mgr_poll(&mgr, 1); is good enough. but I have 3 tcp connections it slows down receiving and sending tcp messages. but i have to do mg_mgr_poll(&mgr, 2); to give more time for pol...
by snahmad75
Thu Aug 23, 2018 7:59 pm
Forum: ESP-IDF
Topic: Can bus driver can_transmit gets timeout sometime in high can bus load.
Replies: 14
Views: 14963

Re: Can bus driver can_transmit gets timeout sometime in high can bus load.

8000 per second works. but 16000 per seconds does not keep up with tx_queue size =100 800 per second works. but 1600 per seconds does not keep up with tx_queue size =100 :?: Sorry for confusion. I meant this 800 per second works. but 1600 per seconds does not keep up with tx_queue size =100 We foun...
by snahmad75
Thu Aug 23, 2018 2:23 pm
Forum: ESP-IDF
Topic: Can bus driver can_transmit gets timeout sometime in high can bus load.
Replies: 14
Views: 14963

Re: Can bus driver can_transmit gets timeout sometime in high can bus load.

Sure. I really want to know if there is an unresolved issue with this driver too. I will test more but I only moved to this driver 2 days ago. I did test sending two messages on high resolution timer callbacks, both at 1ms intervals with queue size of 5 and saw about 1000 messages per sec from each...
by snahmad75
Thu Aug 23, 2018 2:22 pm
Forum: ESP-IDF
Topic: Can bus driver can_transmit gets timeout sometime in high can bus load.
Replies: 14
Views: 14963

Re: Can bus driver can_transmit gets timeout sometime in high can bus load.

Sure. I really want to know if there is an unresolved issue with this driver too. I will test more but I only moved to this driver 2 days ago. I did test sending two messages on high resolution timer callbacks, both at 1ms intervals with queue size of 5 and saw about 1000 messages per sec from each...
by snahmad75
Thu Aug 23, 2018 11:57 am
Forum: ESP-IDF
Topic: Can bus driver can_transmit gets timeout sometime in high can bus load.
Replies: 14
Views: 14963

Re: Can bus driver can_transmit gets timeout sometime in high can bus load.

jcsbanks wrote:If you have a minimal example with the problem I can test. Also have Kvaser.

ok, let me try debug more myself. I will give minimal example to you later if needed?

Thanks for help.
by snahmad75
Thu Aug 23, 2018 11:00 am
Forum: ESP-IDF
Topic: Can bus driver can_transmit gets timeout sometime in high can bus load.
Replies: 14
Views: 14963

Re: Can bus driver can_transmit gets timeout sometime in high can bus load.

Have you confirmed this with a logic analyzer? In other words, have you confirmed that there is actually activity on the CAN bus? I highly suspect that the reason the TX queue is full is because the messages are never transmitted successfully. I am using kvaser. I can confirm I am receiving all can...
by snahmad75
Thu Aug 23, 2018 10:55 am
Forum: ESP-IDF
Topic: Can bus driver can_transmit gets timeout sometime in high can bus load.
Replies: 14
Views: 14963

Re: Can bus driver can_transmit gets timeout sometime in high can bus load.

Understood can message needs to be acknowledged.