Search found 118 matches

by ESP_houwenxiang
Sun Sep 08, 2019 6:32 am
Forum: ESP-IDF 中文讨论版
Topic: 有人在esp32上面实现过红外解码的工作吗?
Replies: 7
Views: 10647

Re: 有人在esp32上面实现过红外解码的工作吗?

:shock: , 还是不能复现你描述的问题, 我将 GPIO18,GPIO19 短接, 测试这个代码.可以正常运行. 是否可以提供复现该问题的测试工程?
by ESP_houwenxiang
Thu Aug 15, 2019 2:41 am
Forum: ESP-IDF 中文讨论版
Topic: 有人在esp32上面实现过红外解码的工作吗?
Replies: 7
Views: 10647

Re: 有人在esp32上面实现过红外解码的工作吗?

demo详细看过啦,想请教两个问题1、我发连续发码改为了只发一次,为什么接收不到2、tx rx没连接有时会出现rx buffer full的情况,干扰问题?
1. 请问你是将 ESP32 的发送引脚与接收引脚连接进行的测试吗?

2. 是否可以提供一下测试代码? 我将测试代码修改后, 发送一次是可以接收到的
by ESP_houwenxiang
Thu Aug 08, 2019 3:58 am
Forum: ESP-IDF 中文讨论版
Topic: GPIO中断
Replies: 1
Views: 3887

Re: GPIO中断

可能与最近修复的一个 GPIO 问题有关, 可以尝试最新的 master 分支. 或者用下面的两种方案:

1. 使用单核
2. 处理 GPIO 的任务在创建的时候指定在调用 gpio_install_isr_service 的核上

thanks !!
by ESP_houwenxiang
Wed Aug 07, 2019 2:18 am
Forum: ESP-IDF 中文讨论版
Topic: 有人在esp32上面实现过红外解码的工作吗?
Replies: 7
Views: 10647

Re: 有人在esp32上面实现过红外解码的工作吗?

ESP32 有 RMT 模块, 可以接收不带载波的序列, 然后软件进行解码, 是否可以尝试一下?

示例代码路径为 IDF_PATH/example/peripherals/rmt_nec_tx_rx

谢谢
by ESP_houwenxiang
Mon Aug 05, 2019 2:44 am
Forum: 硬件问题讨论
Topic: 串口工具连接ESP32会使重启
Replies: 2
Views: 15517

Re: 串口工具连接ESP32会使重启

很多串口调试助手在打开串口的时候会控制流控线. ESP32 开发板的下载模式和 boot 模式是可以通过开发板上串口芯片的流控来控制的. 所以导致了你这个问题 .
by ESP_houwenxiang
Mon Aug 05, 2019 2:31 am
Forum: General Discussion
Topic: gpio output
Replies: 1
Views: 2626

Re: gpio output

Hi,
It can work in tristate mode.
output 0, output 1, and tristate(disable the output)
by ESP_houwenxiang
Mon Aug 05, 2019 1:55 am
Forum: General Discussion
Topic: 2 LEDC channels, 180 deg. apart
Replies: 3
Views: 3931

Re: 2 LEDC channels, 180 deg. apart

Hi, mikemoy

In the LEDC channel configuration parameters, we provide hpoint to configure the phase. Plese note that these three channels need to use the same timer.

Code: Select all

typedef struct {
    int gpio_num;
    ....
    uint32_t duty;
    int hpoint;
} ledc_channel_config_t;
by ESP_houwenxiang
Thu Aug 01, 2019 4:21 am
Forum: Hardware
Topic: i2c read three segments error
Replies: 5
Views: 5155

Re: i2c read three segments error

Can you provide the debug log?

Code: Select all

ESP_LOGI(I2C_TAG, "g_cmd_index_use %d, g_cmd_index %d, op_code %d", g_cmd_index_use,  g_cmd_index, cmd->op_code );
When the EDN command is sent, we should fill in the next command from the first command register.