Search found 118 matches

by ESP_houwenxiang
Wed Feb 13, 2019 3:00 am
Forum: ESP-IDF
Topic: Using Interrupts on the UART
Replies: 8
Views: 18483

Re: Using Interrupts on the UART

Hi, @fofi144 It seems that you are using your own ISR handles. One thing to note when data is received, you should read the data out until the hw fifo is empty, and than clear the interrupt flag. otherwise, the interrupt status can never be cleared. @amruta It is not recommended to call "uart_write_...
by ESP_houwenxiang
Thu Jan 24, 2019 11:39 am
Forum: ESP-IDF
Topic: I²C clock problem
Replies: 18
Views: 21300

Re: I²C clock problem

Hi,
Why the SCL frequency changes during data transmission? :?:
by ESP_houwenxiang
Tue Jan 22, 2019 1:12 pm
Forum: ESP-IDF
Topic: Parallel Out I2S with DMA Interrupts
Replies: 17
Views: 24042

Re: Parallel Out I2S with DMA Interrupts

You can use i2s_out_eof interrupt, be sure that eof field in the DMA descriptor is set to 1.
by ESP_houwenxiang
Tue Jan 22, 2019 11:56 am
Forum: ESP-IDF
Topic: Parallel Out I2S with DMA Interrupts
Replies: 17
Views: 24042

Re: Parallel Out I2S with DMA Interrupts

Hi,
Can you provide you DMA link, maybe your DMA linked list is a circular list,
by ESP_houwenxiang
Tue Jan 22, 2019 10:05 am
Forum: Hardware
Topic: Faster ADC Reading
Replies: 12
Views: 36307

Re: Faster ADC Reading

Hi, megomes
Please try the attachment
by ESP_houwenxiang
Tue Jan 22, 2019 6:55 am
Forum: ESP-IDF
Topic: I²C clock problem
Replies: 18
Views: 21300

Re: I²C clock problem

Hi, @persan666 Thanks for you feedback, from the picture we know that the timing is abnormal. Can you help with another test? in i2c.c, please find the function ` i2c_master_clear_bus` and change it to: ``` static esp_err_t i2c_master_clear_bus(i2c_port_t i2c_num) { return ESP_OK; } ``` I want to kn...
by ESP_houwenxiang
Mon Jan 21, 2019 10:04 am
Forum: ESP-IDF
Topic: I²C clock problem
Replies: 18
Views: 21300

Re: I²C clock problem

Hi,
Just found that the I2C driver in release / v3.2 is not up to date. Can you help try the master branch?
by ESP_houwenxiang
Sun Jan 20, 2019 5:06 am
Forum: ESP-IDF
Topic: UART reception variable length message (no pattern)
Replies: 2
Views: 5721

Re: UART reception variable length message (no pattern)

Hi Lucas.Hutchinson
The UART driver is for general purpose, so, some situations are not considered. If you want to know if the idle interrupt is happened, you can send an event in the interrupt to notify the task.

thanks !!
by ESP_houwenxiang
Sun Jan 20, 2019 4:48 am
Forum: ESP-IDF
Topic: Uart1 won't transmit after esp_restart()
Replies: 6
Views: 6627

Re: Uart1 won't transmit after esp_restart()

Hi, dedvalson
Did you solve your problem?

thanks !!
by ESP_houwenxiang
Sun Jan 20, 2019 4:44 am
Forum: ESP-IDF
Topic: Reclaim GPIO after deep sleep reset
Replies: 1
Views: 4701

Re: Reclaim GPIO after deep sleep reset

Hi, Jeremy
please call `rtc_gpio_hold_dis` to disable the gpio hold function first, the `rtc_gpio_isolate` have enabled the gpio hold functon and the gpio status can not be changed if this function is setted.

thanks !!