Search found 89 matches

by p-rimes
Mon Sep 18, 2017 3:23 am
Forum: General Discussion
Topic: Meaning of DPORT Registers
Replies: 2
Views: 6696

Re: Meaning of DPORT Registers

So helpful!

That fully answers all of my questions.

Thanks @ESP_Sprite!
by p-rimes
Sat Sep 16, 2017 7:59 pm
Forum: General Discussion
Topic: Espressif Response to BlueBorne Vulnerability?
Replies: 7
Views: 11843

Espressif Response to BlueBorne Vulnerability?

After updating all computers and smartphones (Windows, Mac, Linux, iPhone, Android) with the latest updates to address the BlueBorne security vulnerability (everyone should have done this already!), we should ask what to do about IoT chips such as ESP32 that support Bluetooth and may be affected by ...
by p-rimes
Fri Sep 15, 2017 6:51 pm
Forum: General Discussion
Topic: Meaning of DPORT Registers
Replies: 2
Views: 6696

Meaning of DPORT Registers

I see that the DPORT section has been added to the TRM. Meanwhile I have also noticed some code changes in esp-idf master using these registers as well. I cannot seem to find a short explanation about the meaning/purpose of these registers, for example the following questions: What does DPORT stand ...
by p-rimes
Wed Aug 02, 2017 5:23 am
Forum: General Discussion
Topic: I2S: dma_buf_count and dma_buf_len values for receive?
Replies: 6
Views: 16203

Re: I2S: dma_buf_count and dma_buf_len values for receive?

Also, incidentally, @kolban does your "sorta working" example work for you? My use is different (and working... but v. slow) but the configuration is similar (yours is camera+RX+I2S0, mine is LCD+TX+I2S1), but personally I'm not able to run at this speed: I2S0.clkm_conf.clkm_div_num = 2; (I really w...
by p-rimes
Wed Aug 02, 2017 4:48 am
Forum: General Discussion
Topic: I2S: dma_buf_count and dma_buf_len values for receive?
Replies: 6
Views: 16203

Re: I2S: dma_buf_count and dma_buf_len values for receive?

Thanks, that does help. This specific comment from the Github issue you mentioned seems to be the most up-to-date info on the matter: size: size of the buffer pointed to by buf member length: number of valid data bytes stored into the buffer. For example, if you create a DMA descriptor with 1024 byt...
by p-rimes
Wed Aug 02, 2017 2:27 am
Forum: General Discussion
Topic: I2S: dma_buf_count and dma_buf_len values for receive?
Replies: 6
Views: 16203

Re: I2S: dma_buf_count and dma_buf_len values for receive?

Sorry to bump this old thread, but I notice within esp-idf, in the file components/esp32/test/test_ahb_arb.c:130 the following code snippet. As far as I can tell, this is the only occurrence within esp-idf of non-uint8_t data being sent with DMA, and here it appears that length and size are both set...
by p-rimes
Tue Jun 13, 2017 4:06 am
Forum: ESP-IDF
Topic: I2S (LCD/parallel-mode + DMA) sends output buffer twice?
Replies: 3
Views: 6747

Re: I2S (LCD/parallel-mode + DMA) sends output buffer twice?

I think I solved it! I am now using the following settings: I2S1.conf_chan.tx_chan_mod = 0x1; ( NOT 0x0) I2S1.fifo_conf.tx_fifo_mod = 0x1; ( NOT 0x0) I2S1.sample_rate_conf.tx_bck_div_num = 2; ( NOT 1) I2S1.int_ena.out_eof = 1; ( NOT out_done) Only using I2S1.out_link.start = 1; I2S1.conf.tx_start = ...
by p-rimes
Sat Jun 10, 2017 3:27 am
Forum: ESP-IDF
Topic: I2S (LCD/parallel-mode + DMA) sends output buffer twice?
Replies: 3
Views: 6747

Re: I2S (LCD/parallel-mode + DMA) sends output buffer twice?

Well I had tried both WS for clock, as well as using BCK directly. I prefer the waveforms from using BCK, but it doesn't seem to make a significant difference (still seeing 64 samples instead of 32 -- a new sample on each clock level change). When using WS signal in LCD mode, it seems as though the ...
by p-rimes
Thu Jun 08, 2017 6:42 pm
Forum: ESP-IDF
Topic: I2S (LCD/parallel-mode + DMA) sends output buffer twice?
Replies: 3
Views: 6747

I2S (LCD/parallel-mode + DMA) sends output buffer twice?

I seem to be experiencing a bug (or configuration error) that leads to incorrect/duplicate I2S data being transmitted. My DMA buffer is transmitted correctly (e.g. in my case 32 clocks edges == 32 16-bit samples in parallel mode) -- however the buffer is being transmitted twice (64 clock edges total...