Search found 191 matches

by ESP_Dazz
Thu Jan 02, 2020 5:47 pm
Forum: ESP32 IDF
Topic: Unable to trigger CAN bus-off state
Replies: 4
Views: 653

Re: Unable to trigger CAN bus-off state

Yes, this is the intended behavior of the CAN 2.0B protocol to prevent a unconnected transmitting node from putting itself into a BUS OFF state due to lack of acknowledgement. For specifics, see the CAN 2.0B specification (Fault Confinment - Rule 3 and its exceptions): 3. When a TRANSMITTER sends an...
by ESP_Dazz
Wed Dec 18, 2019 7:18 am
Forum: ESP32 IDF
Topic: ESP-IDF and FreeRTOS
Replies: 5
Views: 1090

Re: ESP-IDF and FreeRTOS

ESP-IDF does not include this feature because this feature was added in FreeRTOS V9.0.0rc1. ESP-IDF FreeRTOS is based on FreeRTOS v8.2
by ESP_Dazz
Mon Dec 16, 2019 9:26 am
Forum: ESP32 Arduino
Topic: Timer example
Replies: 9
Views: 1364

Re: Timer example

Mod Note: Moved to Arduino sub-forum @arkayabt Could you be more specific as to what timer you're talking about, and what you mean by a "process getting a start"? For example, are you expecting to use a software timer or a hardware timer? What order of precision do you need for this timer (e.g. mill...
by ESP_Dazz
Tue Dec 10, 2019 4:52 am
Forum: General Discussion
Topic: CAN frame corruption following FATFS write to FLASH
Replies: 4
Views: 656

Re: CAN frame corruption following FATFS write to FLASH

Some things that would be useful to check/known: What CAN frames were being sent to the ESP32? What data did they have? Were they STD or EXTD ID? Could you check the flags of each received message? Currently, the driver doesn't handle RX FIFO overruns. The following modification to can_intr_handler_...
by ESP_Dazz
Mon Nov 25, 2019 3:07 pm
Forum: General Discussion
Topic: Memory usage of xTaskCreate() within a task
Replies: 6
Views: 1212

Re: Memory usage of xTaskCreate() within a task

  • vTaskDelete() itself does not return the memory when deleting a current running task. The memory is instead free in the IDLE task.
  • SPI RAM is not internal
by ESP_Dazz
Thu Nov 21, 2019 3:33 pm
Forum: ESP32 IDF
Topic: station_example_main.c: xEventGroupWaitBits missing?
Replies: 1
Views: 643

Re: station_example_main.c: xEventGroupWaitBits missing?

Seems like you're correct. There should be an xEventGroupWaitBits() call at the end of app_main(). I'll open a ticket to fix this issue.
by ESP_Dazz
Thu Nov 21, 2019 3:23 pm
Forum: General Discussion
Topic: Build idf.py build issue
Replies: 4
Views: 1632

Re: Build idf.py build issue

There are a bunch of example projects in esp-idf/examples. I suggest you chose one of the projects in get-started.
by ESP_Dazz
Thu Nov 21, 2019 3:15 pm
Forum: General Discussion
Topic: Build idf.py build issue
Replies: 4
Views: 1632

Re: Build idf.py build issue

Code: Select all

C:\Users\LTrueman\Desktop\esp-idf>
Run your build command in an IDF project, not in the ESP-IDF directory
by ESP_Dazz
Fri Nov 15, 2019 12:29 pm
Forum: ESP32 IDF
Topic: Canbus RX does not work
Replies: 2
Views: 889

Re: Canbus RX does not work

Code: Select all

can_general_config_t g_config = CAN_GENERAL_CONFIG_DEFAULT(GPIO_NUM_5, GPIO_NUM_4, CAN_MODE_NO_ACK);
...
message.flags = CAN_MSG_FLAG_EXTD | CAN_MSG_FLAG_SELF;
Documentation can be found here, and self test example can be found here.
by ESP_Dazz
Fri Nov 08, 2019 11:52 am
Forum: ESP-IDF 中文讨论版
Topic: ESP32如何触发软件复位?
Replies: 3
Views: 1782

Re: ESP32如何触发软件复位?

有几种方法
  • 内核复位:除了RTC,会把整个digital 的寄存器全部复位,包括CPU、所有外设和数字GPIO。可以用RTC_CNTL_OPTIONS0_REG 的 RTC_CNTL_SW_SYS_RST 引发

Go to advanced search