Search found 191 matches

by ESP_Dazz
Fri May 22, 2020 5:19 am
Forum: General Discussion
Topic: Enter/exit CAN reset mode
Replies: 16
Views: 5492

Re: Enter/exit CAN reset mode

Hi, I am trying to work around some CAN issues. I have not been able to recover the CAN issue using can_initiate_recovery() is supposed to recover from Bus-Off, it won't help recover from corrupt frames Entering and Exiting reset mode doesn't really reset the peripheral. It's more of a start/stop b...
by ESP_Dazz
Mon May 18, 2020 3:54 pm
Forum: General Discussion
Topic: I2C corruption when using ESP CAN (IDFGH-3307)
Replies: 12
Views: 1340

Re: I2C corruption when using ESP CAN (IDFGH-3307)

@PeterR It doesn't make sense that the CAN driver would cause a 2ms block as the CAN driver ISR doesn't infinite loop anywhere. The only loop that occurs is the clearing of the CAN RX FIFO. In the worst case scenario where the CAN RX FIFO as completely overrun, the driver would simply clear the CAN ...
by ESP_Dazz
Fri May 15, 2020 3:57 am
Forum: ESP32 IDF
Topic: Unexplained CAN Errors
Replies: 16
Views: 1997

Re: Unexplained CAN Errors

(1) Other devices receiving and functioning whilst the ESP is BUS OFF. I note that the bus does have a high rate of errors but the ESP is solid fail (driver does not pass on RX frames, TX may happen but I need to confirm), whilst other devices muck on. Is the ESP CAN actually attempting to transmit...
by ESP_Dazz
Wed May 13, 2020 8:26 am
Forum: Report Bugs
Topic: ESP32-WROOM32E - V3 - Canbus speeds halved?
Replies: 2
Views: 843

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...
by ESP_Dazz
Sat May 09, 2020 7:25 am
Forum: ESP32 IDF
Topic: Unexplained CAN Errors
Replies: 16
Views: 1997

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...
by ESP_Dazz
Wed Apr 08, 2020 7:50 am
Forum: ESP-IDF 中文讨论版
Topic: 有人试过esp32 can总线么
Replies: 2
Views: 4884

Re: 有人试过esp32 can总线么

VP230 PIN 8 是用来控制 VP230 的 Sleep Mode/Standby Mode 功能。请确认你用的 VP230 板是将 PIN 8 连到 GND 禁用所有 Sleep Mode / Standby Mode 功能。
by ESP_Dazz
Wed Apr 08, 2020 7:38 am
Forum: ESP-IDF 中文讨论版
Topic: 请问ESP32 的CAN有没硬件上的数据缓存呢,如FIFO
Replies: 1
Views: 2441

Re: 请问ESP32 的CAN有没硬件上的数据缓存呢,如FIFO

有的,里面有一个 64 byte RX FIFO。但是 RX FIFO 的操作已经会被软件驱动处理。
by ESP_Dazz
Wed Apr 08, 2020 4:55 am
Forum: ESP32 IDF
Topic: How do I use the ESP-IDF functions?
Replies: 1
Views: 668

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...
by ESP_Dazz
Wed Apr 08, 2020 4:31 am
Forum: ESP32 IDF
Topic: adc1_get_raw returns -1
Replies: 2
Views: 871

Re: adc1_get_raw returns -1

Which version of ESP-IDF are you using?
by ESP_Dazz
Wed Apr 08, 2020 3:58 am
Forum: ESP32 IDF
Topic: Simple application crashing with FreeRTOS tasks
Replies: 4
Views: 853

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...

Go to advanced search