Search found 308 matches
- Wed May 13, 2020 8:26 am
- Forum: Report Bugs
- Topic: ESP32-WROOM32E - V3 - Canbus speeds halved?
- Replies: 2
- Views: 6116
Re: ESP32-WROOM32E - V3 - Canbus speeds halved?
Not a bug but a feature. ESP32 ECO3 added a configurable bit that will cause CAN bus speeds to be halved (i.e thus allows for lower bit rates). However, by default this feature should be disabled by the driver (see this commit ). Which version of ESP-IDF are you using? Do you have a copy of your sdk...
- Sat May 09, 2020 7:25 am
- Forum: ESP-IDF
- Topic: Unexplained CAN Errors
- Replies: 16
- Views: 16020
Re: Unexplained CAN Errors
For some reason we have to START, then STOP, then START the CAN driver a 2nd time. We are using `can_start()` and `can_stop()`. Has anyone else experienced something like this? This is definitely not normal behavior. The CAN driver should only require one call to START the CAN driver. We have an af...
- Wed Apr 08, 2020 7:50 am
- Forum: ESP-IDF 中文讨论版
- Topic: 有人试过esp32 can总线么
- Replies: 2
- Views: 11319
Re: 有人试过esp32 can总线么
VP230 PIN 8 是用来控制 VP230 的 Sleep Mode/Standby Mode 功能。请确认你用的 VP230 板是将 PIN 8 连到 GND 禁用所有 Sleep Mode / Standby Mode 功能。
- Wed Apr 08, 2020 7:38 am
- Forum: ESP-IDF 中文讨论版
- Topic: 请问ESP32 的CAN有没硬件上的数据缓存呢,如FIFO
- Replies: 1
- Views: 5544
Re: 请问ESP32 的CAN有没硬件上的数据缓存呢,如FIFO
有的,里面有一个 64 byte RX FIFO。但是 RX FIFO 的操作已经会被软件驱动处理。
- Wed Apr 08, 2020 4:55 am
- Forum: ESP-IDF
- Topic: How do I use the ESP-IDF functions?
- Replies: 1
- Views: 2892
Re: How do I use the ESP-IDF functions?
Should I include the "touch_pad.h" header? Yes. include by the following. #include "driver/touch_pad.h " I'm having trouble with the "touch_pad_config" function, it accepted the "touch_pad_tTOUCH_PAD_NUM0" as the first parameter but doesn't seem to accept anything as the second parameter. Your code...
- Wed Apr 08, 2020 4:31 am
- Forum: ESP-IDF
- Topic: adc1_get_raw returns -1
- Replies: 2
- Views: 4032
Re: adc1_get_raw returns -1
Which version of ESP-IDF are you using?
- Wed Apr 08, 2020 3:58 am
- Forum: ESP-IDF
- Topic: Simple application crashing with FreeRTOS tasks
- Replies: 4
- Views: 7941
Re: Simple application crashing with FreeRTOS tasks
A few points to consider Check that you have created the mux before it is being used (i.e. xSemaphoreCreateMutex() occurs before any call to xSemaphoreTake()). That assert you're seeing is likely due to the mux handle being NULL. What's likely happening here is that you are calling xTaskCreate() ins...
- Wed Apr 01, 2020 8:25 am
- Forum: ESP-IDF
- Topic: vTaskSuspendAll() and vTaskEndScheduler()
- Replies: 8
- Views: 8969
Re: vTaskSuspendAll() and vTaskEndScheduler()
vTaskDelay() is also a blocking function.egoncalves wrote: Hi
thanks for the reply.
I have tried that ( I was calling vTaskDelay() ) and it still resets...
- Mon Mar 30, 2020 11:23 am
- Forum: ESP-IDF
- Topic: vTaskSuspendAll() and vTaskEndScheduler()
- Replies: 8
- Views: 8969
Re: vTaskSuspendAll() and vTaskEndScheduler()
Don't call blocking functions (e.g. xQueueReceive()) whilst the scheduler is suspended.
- Sat Mar 14, 2020 3:30 pm
- Forum: General Discussion
- Topic: mutex and Free RTOS scheduler
- Replies: 3
- Views: 7445
Re: mutex and Free RTOS scheduler
I'm trying to understand the difference (if there is one) between the Free RTOS portMUX_TYPE mutex and the SemaphoreHandle_t mutex. Are they both the same thing 'under the hood'? No they are not. portMUX_TYPE is a spinlock (name is a bit confusing). Spinlocks are a form of hardware mutual exclusion...