UDMA implementation

red_Panda
Posts: 12
Joined: Mon Dec 21, 2020 7:22 am

UDMA implementation

Postby red_Panda » Thu Dec 15, 2022 2:38 pm

Today I have read a lot of information about implementing UDMA in esp32, but unfortunately I have not found a recipe. The found uhci_test.tar.gz doesn't start and causes an error

Code: Select all

esp_err_t uart_disable_intr_mask(uart_port_t uart_num, uint32_t disable_mask)
{
    ESP_RETURN_ON_FALSE((uart_num < UART_NUM_MAX), ESP_FAIL, UART_TAG, "uart_num error");
    UART_ENTER_CRITICAL(&(uart_context[uart_num].spinlock);
-->> p_uart_obj[uart_num]->rx_int_usr_mask &= ~disable_mask;
    uart_hal_disable_intr_mask(&(uart_context[uart_num].hal), disable_mask);
    UART_EXIT_CRITICAL(&(uart_context[uart_num].spinlock));
    return ESP_OK;
}
Maybe there is some documentation on how to implement UDMA or a ready-made example? Because this answer from a company employee doesn't bode well.

Who is online

Users browsing this forum: cistern, Corand and 139 guests