Search found 3 matches

by esp_wxyao
Tue Feb 28, 2023 7:15 am
Forum: ESP-IDF 中文讨论版
Topic: 求助 ESP32 如何配置 CAN 双滤波器模式 ?
Replies: 4
Views: 9112

Re: 求助 ESP32 如何配置 CAN 双滤波器模式 ?

说的不对吧,我测试的为什么只能接收低ID低8位为F的ID呢,比如只能接收-0X1F,2F,3F一直到FF。
by esp_wxyao
Wed Feb 15, 2023 3:31 am
Forum: ESP-IDF 中文讨论版
Topic: 如何更改twai通信接收缓冲区大小
Replies: 1
Views: 1860

如何更改twai通信接收缓冲区大小

目前,我使用激光测距传感器和esp32进行can通信,esp32发送一条读指令给传感器,传感器返回16组距离数值,128个字节。can卡能接收到所有的16组数据,但是esp32只能接收到6组数据,这6组数据有时还不连续。我想这是不是接收缓冲区是不是太小了,所以导致只能接收6组数据,希望大神给分析分析。 void receTask(void *arge) { uint8_t id = 0; twai_message_t receMess; while (true) { ESP_LOGI(TAG, "Rece task"); xSemaphoreTake(rx_sem, portMAX_DELAY...
by esp_wxyao
Sun Apr 03, 2022 9:10 am
Forum: ESP-IDF 中文讨论版
Topic: 在deepSleep模式下,没有RTC的gpio也能从deepSleep中唤醒,不知道为什么。
Replies: 1
Views: 1463

在deepSleep模式下,没有RTC的gpio也能从deepSleep中唤醒,不知道为什么。

windows系统,采用esp32,平台:vscode。 #include <stdio.h> #include <stdlib.h> #include "freertos/FreeRTOS.h" #include "freertos/task.h" #include "driver/i2c.h" #include "esp_log.h" #include "string.h" #include "driver/rtc_io.h" #include "esp_sleep.h" #include "time.h" #include "sys/time.h" #include "driver/ua...