Search found 152 matches

by ESP_Dazz
Fri Jan 03, 2020 11:48 am
Forum: ESP32 IDF
Topic: Unable to trigger CAN bus-off state
Replies: 4
Views: 214

Re: Unable to trigger CAN bus-off state

I tried to abort the transmission when (bus error && TEC is >=128) and I just saw that after calling can_abort_tx() I get a CAN_ALERT_TX_SUCCESS. Not sure which driver you are using. ESP-IDF CAN driver doesn't contain a can_abort_tx() . Regardless, when setting the abort TX bit of the command regis...
by ESP_Dazz
Thu Jan 02, 2020 5:47 pm
Forum: ESP32 IDF
Topic: Unable to trigger CAN bus-off state
Replies: 4
Views: 214

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: 451

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: 525

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: 273

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: 648

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: 349

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: 560

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: 560

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: 244

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.

Go to advanced search