Search found 308 matches

by ESP_Dazz
Sun Feb 23, 2020 10:12 pm
Forum: ESP-IDF
Topic: ESP-IDF: Ethernet COnfigurations
Replies: 4
Views: 4573

Re: ESP-IDF: Ethernet COnfigurations

These macros are generated using menuconfig. Why are you unable to use menuconfig?
by ESP_Dazz
Sun Feb 23, 2020 9:33 pm
Forum: ESP-IDF
Topic: Setting up Eclipse for Windows PATH now wrong, what should it be?
Replies: 2
Views: 2600

Re: Setting up Eclipse for Windows PATH now wrong, what should it be?

The documentation at: https://docs.espressif.com/projects/esp ... dows-setup The guide is for EPS-IDF release v3.1 no longer matches an installation by esp-idf-tools-setup-2.3.exe. The ESP-IDF tools installer for Windows wasn't introduced until release v4.0 You can change the documentation version ...
by ESP_Dazz
Sun Feb 23, 2020 7:19 pm
Forum: IDEs for ESP-IDF
Topic: VSC Extension Prerequisites
Replies: 1
Views: 5006

Re: VSC Extension Prerequisites

The ESP-IDF Tools Installer does all of this automatically, which is far better than installing things one by one Yes the tools installer should install all those prerequisites. Why not just recommend the Installer ? Because the tools installer is only available on Windows. Linux/Mac users need to ...
by ESP_Dazz
Sun Feb 09, 2020 10:19 pm
Forum: General Discussion
Topic: Way to re-init a hw timer ?
Replies: 1
Views: 2434

Re: Way to re-init a hw timer ?

Calling timer_init() should be able to reinitialize a timer. Just be sure to call timer_pause() first.
by ESP_Dazz
Thu Jan 23, 2020 6:54 am
Forum: ESP32 Arduino
Topic: CAN ...read the status or error-register
Replies: 5
Views: 5939

Re: CAN ...read the status or error-register

Is this library the one you are using? If so... If I send a CAN message and there is no CAN bus connected, the program only runs until I send a CAN message the second time. The reason it gets stuck is because CAN_write_frame() internally takes a semaphore with a timeout of portMAX_DELAY . This effec...
by ESP_Dazz
Wed Jan 22, 2020 5:54 pm
Forum: ESP32 Arduino
Topic: CAN ...read the status or error-register
Replies: 5
Views: 5939

Re: CAN ...read the status or error-register

But how can I get the information whether a CAN-transmission was sent correctly? Check the Transmission Complete Status (TCS) bit of the status register. Once the TX buffer is freed (meaning that the current transmission is not being retried), the TCS bit should be set to 1 if the transmission was ...
by ESP_Dazz
Fri Jan 03, 2020 11:48 am
Forum: ESP-IDF
Topic: Unable to trigger CAN bus-off state
Replies: 4
Views: 4972

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: ESP-IDF
Topic: Unable to trigger CAN bus-off state
Replies: 4
Views: 4972

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: ESP-IDF
Topic: ESP-IDF and FreeRTOS
Replies: 5
Views: 6099

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

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