i'm starting a project using ESP32 UART to receive data and need to configure UDMA,
but i can't understand the documentation,
from the UDMA part :
1) i can't use the specified format, what will happen if received data are the same as special-character sequences, will they be modified by the Decoder? Do i really need separator?The UART DMA follows a format of (separator + data + separator). The Encoder is used for adding separators before and after data, as well as using special-character sequences to replace data that are the same asseparators. The Decoder is used for removing separators before and after data, as well as replacing the special-character sequences with separators. There can be multiple consecutive separators marking the beginning or end of data. These separators can be configured through UHCIx_SEPER_CH, with the default values being 0xC0. Data that are the same as separators can be replaced with UHCIx_ESC_SEQ0_CHAR0(0xDB by default) and UHCIx_ESC_SEQ0_CHAR1 (0xDD by default). After the transmission process is complete,a UHCIx_OUT_TOTAL_EOF_INT interrupt will be generated. After the reception procedure is complete, aUHCIx_IN_SUC_EOF_INT interrupt will be generated.
2) Do i have way not to use the Decoder?
from the DMA linked-list part:
i don't really get what the difference is here, do you have an example of how to create a linked list?•length (DW0) [23:12]: The number of valid bytes in the buffer corresponding to the current linked list. The field value indicates the number of bytes to be transferred to/from the buffer denoted by word DW1.
•size (DW0) [11:0]: The size of the buffer corresponding to the current linked list
i hope you can help me,
thanks for reading!