Description of DMA "sosf" field missing in technical reference manual

User avatar
kolban
Posts: 1683
Joined: Mon Nov 16, 2015 4:43 pm
Location: Texas, USA

Description of DMA "sosf" field missing in technical reference manual

Postby kolban » Mon May 28, 2018 4:54 am

When working with DMA (in my case I2S), I see that there is a data structure that represents a linked list of buffers. See section 6.3.2 of the ESP32 technical references manual. When I compare this against the data structure called "lldesc_t", I find that there is a mysterious additional bit field called "sosf" which seems to be described as "start of sub frame". My question/puzzle is "What does this mean?" I can't seem to find any description of this concept within the documentation.
Free book on ESP32 available here: https://leanpub.com/kolban-ESP32

ESP_Sprite
Posts: 9020
Joined: Thu Nov 26, 2015 4:08 am

Re: Description of DMA "sosf" field missing in technical reference manual

Postby ESP_Sprite » Mon May 28, 2018 10:42 am

From memory, I2S doesn't use that bit. The DMA engine of most peripherals are based on the same design, and some of them (the WiFi ones, for example) need subframes as well, hence the bit.

BuddyCasino
Posts: 263
Joined: Sun Jun 19, 2016 12:00 am

Re: Description of DMA "sosf" field missing in technical reference manual

Postby BuddyCasino » Mon May 28, 2018 1:25 pm

I don't know what that is, so I searched for "DMA subframe", yet couldn't find a decent explanation. Do you have a link or something?

Baldhead
Posts: 434
Joined: Sun Mar 31, 2019 5:16 am

Re: Description of DMA "sosf" field missing in technical reference manual

Postby Baldhead » Mon Nov 18, 2019 4:27 am

If I2S "sosf" does not use this bit, why in the link below is this bit set ???

https://github.com/espressif/esp-iot-so ... lcd.c#L106

Who is online

Users browsing this forum: Bing [Bot], Majestic-12 [Bot] and 181 guests