Search found 7 matches

by q515949148
Thu Oct 11, 2018 8:44 am
Forum: ESP32 IDF
Topic: IDF,怎样使用I2S同时采集多个通道的ADC?
Replies: 0
Views: 62

IDF,怎样使用I2S同时采集多个通道的ADC?

如题。我想要同时以较高速度采集来自多个通道的ADC数据,请问我应该用怎么做?我在IDF中找不到相关接口。
by q515949148
Thu Oct 11, 2018 7:57 am
Forum: ESP32 IDF
Topic: I2S to WIFI
Replies: 3
Views: 117

Re: I2S to WIFI

Q:What is the recommended I2S buffer size ?
A:I think the larger the better.

Q:What is the recommended number of bytes to send to the socket at each write command ?
A: Maybe 1450? or use 1024 directly? I think it depends on your code.
by q515949148
Fri Jul 27, 2018 5:56 am
Forum: ESP32 IDF
Topic: How to Scan ADC's 8 Channal in High Speed?(maybe 100-250 ksps per channal?)
Replies: 4
Views: 390

Re: How to Scan ADC's 8 Channal in High Speed?(maybe 100-250 ksps per channal?)

␛[0;32mI (21020) i2s_read_buff: 00 70 00 70 00 60 00 60 00 50 00 50 00 40 00 40 ␛[0m ␛[0;32mI (21020) i2s_read_buff: 00 30 00 30 00 20 00 20 00 10 00 20 00 00 00 10 ␛[0m ␛[0;32mI (21030) i2s_read_buff: 00 70 00 00 00 60 00 70 00 50 00 60 00 50 00 50 ␛[0m ␛[0;32mI (21030) i2s_read_buff: 00 40 00 40 0...
by q515949148
Fri Jul 27, 2018 4:30 am
Forum: ESP32 IDF
Topic: How to Scan ADC's 8 Channal in High Speed?(maybe 100-250 ksps per channal?)
Replies: 4
Views: 390

Re: How to Scan ADC's 8 Channal in High Speed?(maybe 100-250 ksps per channal?)

I was trying to increase the sample_rate to 96000 in i2s_config .
the datarate had increased to 1368k/s.
however, all data from I2S are equals 0.
why?
by q515949148
Thu Jul 26, 2018 10:48 am
Forum: ESP32 IDF
Topic: How to Scan ADC's 8 Channal in High Speed?(maybe 100-250 ksps per channal?)
Replies: 4
Views: 390

Re: How to Scan ADC's 8 Channal in High Speed?(maybe 100-250 ksps per channal?)

I'm trying using SYSCON.saradc_sar1_patt_tab[0]=0x3f2f1f0f; SYSCON.saradc_sar1_patt_tab[1]=0x7f6f5f4f; SYSCON.saradc_sar1_patt_tab[2]=0x3f2f1f0f; SYSCON.saradc_sar1_patt_tab[3]=0x7f6f5f4f; to scan all channel in ADC1. however,It only 500k sps , with i2s_config_t i2s_config = { .mode = I2S_MODE_MASTE...
by q515949148
Thu Jul 26, 2018 9:13 am
Forum: ESP32 IDF
Topic: How to Scan ADC's 8 Channal in High Speed?(maybe 100-250 ksps per channal?)
Replies: 4
Views: 390

Re: How to Scan ADC's 8 Channal in High Speed?(maybe 100-250 ksps per channal?)

I found 2 function about pattern in file "rtc_module.c": static esp_err_t adc_set_i2s_data_len(adc_unit_t adc_unit, int patt_len); static esp_err_t adc_set_i2s_data_pattern(adc_unit_t adc_unit, int seq_num, adc_channel_t channel, adc_bits_width_t bits, adc_atten_t atten); however,I can't f...
by q515949148
Wed Jul 25, 2018 9:36 am
Forum: ESP32 IDF
Topic: How to Scan ADC's 8 Channal in High Speed?(maybe 100-250 ksps per channal?)
Replies: 4
Views: 390

How to Scan ADC's 8 Channal in High Speed?(maybe 100-250 ksps per channal?)

The datasheet says that ADC with DIG controller has 2 Msps speed at maximum. But how to use it to scan 8 channel? The technical reference manual says that there is a pattern table to set each ADC conversion .but how to Configure it ? Sorry for my poor English. really sorry. --- 本人大三,想用ESP32做个小示波器给自己...

Go to advanced search