Search found 118 matches

by ESP_houwenxiang
Mon Mar 16, 2020 10:14 am
Forum: ESP-IDF
Topic: RS485 UART returns incorrect messages
Replies: 2
Views: 1564

Re: RS485 UART returns incorrect messages

RS485 is half-duplex communication, the data sent is also received, so when you finish sending data, you need to call `uart_flush_input`.
Not sure if it solves your issue

thanks !!
by ESP_houwenxiang
Mon Mar 16, 2020 3:36 am
Forum: Hardware
Topic: Esp32 i2s parallel driver with FreeRtos
Replies: 5
Views: 5208

Re: Esp32 i2s parallel driver with FreeRtos

Hi, Baldhead ESP_Angus provided some good suggestions for you, also you can use queue to make two buffers work synchronously. The code can be like this: //DMA idle flag int dma_idle_flag = 0; //We used the out_eof interrupt, but the eof interrupt was not generated before the transfer started, // so ...
by ESP_houwenxiang
Wed Mar 11, 2020 2:51 am
Forum: ESP-IDF
Topic: ESP-IDF on ESP32-D0WDQ6 or ESP32-WROOM with 3 UART and 1 I2C
Replies: 4
Views: 1614

Re: ESP-IDF on ESP32-D0WDQ6 or ESP32-WROOM with 3 UART and 1 I2C

Hi, mmartinez

The UART pin can remap to any input-able and output-able GPIO
by ESP_houwenxiang
Sun Feb 23, 2020 12:06 pm
Forum: ESP-IDF
Topic: I2S to Internal DAC is Broken
Replies: 9
Views: 2396

Re: I2S to Internal DAC is Broken

Hi,
The I2S DAC in the master branch is currently not working. We have refactored the driver and have not merged into the master branch (will be OK soon). It can work on release 3.3.

thanks !!
by ESP_houwenxiang
Sun Feb 23, 2020 12:05 pm
Forum: ESP-IDF
Topic: Internal DAC audio output - Please Help - no luck with idf examples or guide
Replies: 6
Views: 2260

Re: Internal DAC audio output - Please Help - no luck with idf examples or guide

Hi,
The I2S DAC in the master branch is currently not working. We have refactored the driver and have not merged into the master branch. It can work on release 3.3.
by ESP_houwenxiang
Thu Feb 20, 2020 5:17 pm
Forum: Hardware
Topic: UDMA Decoder and linked-list
Replies: 1
Views: 1570

Re: UDMA Decoder and linked-list

Hi, Binogof, The encode and the decode is optional. If you don't want to use encoding and decoding, you should clear the following register: [ conf0: seper_en, head_en, crc_rec_en, encode_crc_en ] and [ escape_conf: tx_c0_esc_en, tx_db_esc_en, tx_11_esc_en, tx_13_esc_en, rx_c0_esc_en, rx_db_esc_en, ...
by ESP_houwenxiang
Wed Feb 19, 2020 8:44 am
Forum: ESP-IDF
Topic: ESP32 i2C support
Replies: 7
Views: 2193

Re: ESP32 i2C support

Hi, yashdave88

Can you provide more information about the I2C problem you are experiencing? Such as providing waveforms during communication.

thanks !!
by ESP_houwenxiang
Sun Jan 05, 2020 5:05 am
Forum: ESP-IDF 中文讨论版
Topic: ESP32如何将双核利用起来?
Replies: 1
Views: 1192

Re: ESP32如何将双核利用起来?

Hi,
请问指的"没用" 是什么样的现象?你所创建的任务是不是串行的? menuconfig 中是否使能了双核?
by ESP_houwenxiang
Sun Jan 05, 2020 5:00 am
Forum: ESP-IDF 中文讨论版
Topic: 关于RMT的问题
Replies: 1
Views: 1031

Re: 关于RMT的问题

Hi, 由于 ESP32 RMT 每个接收和发送模块默认的 memory 是一个 block 大小, 最多只能接收 63 个序列. 所以 64bit 是无法被接收的. 但是通道的大小是可以拓展的, 比如通道 0 可以占用 通道 1 的 memory, 这样可以接收超过 63 个序列. typedef struct { rmt_mode_t rmt_mode; /*!< RMT mode: transmitter or receiver */ rmt_channel_t channel; /*!< RMT channel */ uint8_t clk_div; /*!< RMT channel ...

Go to advanced search