Search found 4 matches
- Mon Oct 30, 2023 5:48 am
- Forum: General Discussion
- Topic: Implement CAN communication using ESP-IDF in freeRTOA
- Replies: 2
- Views: 1848
Re: Implement CAN communication using ESP-IDF in freeRTOA
Hi ESP_Dazz, The error had been solved. The solutions of this error include 1) The improper connection between the CAN transceiver and the MCU 2) The header files (driver/twai.h, hal/twai_types.h) must be well included 3) Using ESP-IDF V4.0 and above 4) Global declare the twai config settings and pu...
- Thu Oct 26, 2023 1:21 am
- Forum: General Discussion
- Topic: undefined reference to `flash_binary' (ESP Serial Flasher using ESP-IDF)
- Replies: 3
- Views: 962
Re: undefined reference to `flash_binary' (ESP Serial Flasher using ESP-IDF)
Hi microcontroller, I included those header files and some required c source files in the src folder, the flow is as follow: .pio .vscode include - README lib - README src - binaries - ESP32_AT_Firmware - Firmware.bin - Hello-world - ESP32_S3 - bootloader.bin - hello_world.bin - partition-table.bin ...
- Tue Oct 24, 2023 3:25 am
- Forum: General Discussion
- Topic: undefined reference to `flash_binary' (ESP Serial Flasher using ESP-IDF)
- Replies: 3
- Views: 962
undefined reference to `flash_binary' (ESP Serial Flasher using ESP-IDF)
#include <sys/param.h> #include <string.h> #include "esp_err.h" #include "esp_log.h" #include "driver/uart.h" #include "driver/gpio.h" #include "esp32_port.h" #include "esp_loader.h" #include "esp_loader_io.h" #include <common/example_common.h> #include "esp_flash.h" static const char *TAG = "seria...
- Sun Sep 18, 2022 6:02 am
- Forum: General Discussion
- Topic: Implement CAN communication using ESP-IDF in freeRTOA
- Replies: 2
- Views: 1848
Implement CAN communication using ESP-IDF in freeRTOA
void can_code_transmit() { twai_general_config_t g_config = TWAI_GENERAL_CONFIG_DEFAULT(12,14,TWAI_MODE_NORMAL); twai_timing_config_t t_config = TWAI_TIMING_CONFIG_25KBITS(); twai_filter_config_t f_config = TWAI_FILTER_CONFIG_ACCEPT_ALL(); if (twai_driver_install(&g_config, &t_config, &f_config) ==...