Slc Module Configuration; Api Function Description - Espressif ESP8266 Technical Reference

Hide thumbs Also See for ESP8266:
Table of Contents

Advertisement

!
Field name
eof
sub_sof
length[11:0]
size[11:0]
buf_ptr[31:0]
next_link_ptr[31:0]
10.2.3. SLC Module Configuration
10.2.3.1. Basic Configuration
The SLC module provides the ESP8266 with DMA service of several modules.
Follow the instructions below so that the SLC module is used for the FIFO transmission of
I2S.
Set Bits 12~13 (SLC_MODE) of the SLC_CONF0 to 01.
Set Bit 17 (SLC_INFOR_NO_REPLACE) and Bit 16 (SLC_TOKEN_NO_REPLACE) of
the SLC_RX_DSCR_CONF to 01.
10.2.3.2.Write The First Address
Bits 0~19 of SLC_RX_LINK (SLC_TX_LINK) register are the first 20 bits of the Rx (Tx)
registration list address. The first address of the registration list should be written to be the
register before the SLC hardware is started.
10.2.3.3. Start The SLC Transmission
Bit 29 of SLC_RX_LINK (SLC_TX_LINK) register is the control bit for starting the SLC
transmission. In the cache space, register a link list and write the first 20 bits of the link
table address to the hardware, and then set bit 29 to 1 to start the SLC transmission.

10.3. API Function Description

The following functions can be found in:
/app/driver/i2s.c and /app/include/driver/i2s.h
Espressif
Flag of frame end for the end of AMPDU sub-frame the mark isn't needed).
When the MAC transports the frames, it's used in the end of the frame. For
the link in the position of eof the buffer_length[11:0] should be equal to the
length of the remaining frame; otherwise, the mac will report an error.
When the MAC receives the frames, it's used to indicate that the frame has
been received completely and the value is set by hardware.
Flag of sub-frame start. It's used to differentiate different sub-frames in the
AMPDU. It's only for MAC transport.
The actual size of the buffer.
The total size of the buffer.
The start address of the buffer.
The start address of the next descripter. When the MAC is receiving the flame, the
value is "0", indicating that there is no empty buffer to receive any flames.
57 86
!
/!
10. I2S Module Description
Description
2016.05

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the ESP8266 and is the answer not in the manual?

Questions and answers

Table of Contents

Save PDF