Search found 136 matches

by ESP_Dazz
Thu Aug 16, 2018 2:30 pm
Forum: General Discussion
Topic: CAN-Bus API multiple filter configuration
Replies: 5
Views: 1573

Re: CAN-Bus API multiple filter configuration

See the Acceptance Filter section of the docs. What essentially when you set single_filter = false is that the acceptance_code and acceptance_mask will be interpreted differently by the CAN peripheral. Therefore instead using a 32-bit value to define a single code/mask, the each 32-bit value will be...
by ESP_Dazz
Mon Aug 06, 2018 4:46 pm
Forum: ESP32 Arduino
Topic: ESP32 Create task with dynamic value parameter
Replies: 4
Views: 1478

Re: ESP32 Create task with dynamic value parameter

I'm using at the moment Blynk connected through BLE to send imput information and when sending information of 2 motors it's response is sluggish so after some research I believe that it would be best to have a solution as following: Have a global int array[8] where each element will be the directio...
by ESP_Dazz
Tue Jul 31, 2018 5:28 pm
Forum: General Discussion
Topic: FreeRTOS assertion error.
Replies: 3
Views: 1099

Re: FreeRTOS assertion error.

I've got a hunch this maybe an SMP problem. Could you provide more details with what your application was doing such as... - What tasks/interrupts were waiting for / giving the task notification? - What were the priorities and affinities of those tasks? - Were those tasks also accessing queues as we...
by ESP_Dazz
Tue Jul 31, 2018 11:39 am
Forum: General Discussion
Topic: Why vTaskDelete(NULL) does not actually delete task?
Replies: 3
Views: 1669

Re: Why vTaskDelete(NULL) does not actually delete task?

Are you sure you aren't attempting to get the state of a task that has already been deleted? eTaskGetState() doesn't actually check if the task exists. It is implemented in such a way that it'll simply return eReady if it can't find the task in the any of the other lists (ready, event, blocked). I s...
by ESP_Dazz
Wed Jul 25, 2018 7:45 pm
Forum: Hardware
Topic: About the CAN controller.
Replies: 173
Views: 90903

Re: About the CAN controller.

HI there! I am trying my luck on having a CAN connection (obviously posting here) on an ESP32 WROOM, external SN65HVD230. THis is my first ESP CAN. I do very much have the issue @jcsbanks described before. I tried 2 ESP modules and 2 transceivers... I can only _receive_ on my test setup on a 500kB ...
by ESP_Dazz
Tue Jul 24, 2018 4:59 am
Forum: General Discussion
Topic: Explanation of ESP-IDF branches?
Replies: 12
Views: 2722

Re: Explanation of ESP-IDF branches?

vonnieda wrote:1. Does it make sense for the Getting Started guide to continue to reference master?
You can change the version of the docs at the bottom left hand corner of the page.
by ESP_Dazz
Mon Jul 16, 2018 9:04 am
Forum: General Discussion
Topic: Two Task Watchdog
Replies: 1
Views: 686

Re: Two Task Watchdog

The current Task WDT API will not support that. You could disable the current task watchdogs and re-implement a custom task watchdog by using the same MWDT as the task watchdog (MWDT of Timer Group 0). However I think it's generally bad practice to have any task run for too long without yielding. Wo...
by ESP_Dazz
Mon Jul 16, 2018 8:54 am
Forum: General Discussion
Topic: Core usage with Arduino
Replies: 1
Views: 817

Re: Core usage with Arduino

My understanding is that Arduino code runs on Core#1, named APP_CPU. And low-level WIFI operations run on Core#0, named PRO_CPU. Yes that is correct. What happens is a FreeRTOS task that is pinned to Core 1 is created (called loopTask ). The loopTask will run setup() once, then run loop() repeatedl...
by ESP_Dazz
Mon Jul 16, 2018 8:17 am
Forum: ESP32 Arduino
Topic: Watchdog
Replies: 6
Views: 7364

Re: Watchdog

The RTC WDT is very similar in design to the MWDT in the timer groups having different stages and the ability to associate different actions (interrupt, CPU reset, system reset) to each stage. Currently the RTC WDT are used to guard against the panic handler from hanging. See esp_panic_wdt_start() a...
by ESP_Dazz
Sun Jul 15, 2018 5:05 pm
Forum: General Discussion
Topic: Pinning tasks to Core for ISR
Replies: 3
Views: 1604

Re: Pinning tasks to Core for ISR

It means that the interrupt will be allocated to which ever core the allocation API was running on at the time. This becomes a problem when doing so from an unpinned task because the interrupt can be allocated to any core. Interrupt de-allocation must be called on the same core to which the interrup...

Go to advanced search