Hi
I am using OMAP3530 UART in polling mode.Here is how I set uart register values
M_UART_REG_LCR(ul_base_addr_of_uart) = 0xBF; //pg 2752 (selected configuration mode:B)
M_UART_REG_EFR(ul_base_addr_of_uart) |= (1 << 4);
M_UART_REG_LCR(ul_base_addr_of_uart) = (uc_data | (uc_stop << 2) | (uc_parity << 3) | 0x80);
M_UART_REG_MCR(ul_base_addr_of_uart) = (1 << 6); //set this bit to access TLR register.
M_UART_REG_FCR(ul_base_addr_of_uart) = 0x0F; /* 8 byte RX FIFO and 8 byte TX FIFO */ //DMA enabled
M_UART_REG_DLL(ul_base_addr_of_uart) = (0xFF & Aus_uart_baudrate[us_baudrate]); //Least Significant part of divisor
M_UART_REG_DLH(ul_base_addr_of_uart) = (0xFF & (Aus_uart_baudrate[us_baudrate] >> 8)); //Most Significant part of the divisor
M_UART_REG_LCR(ul_base_addr_of_uart) &= 0x7F;
M_UART_REG_IIR(ul_base_addr_of_uart);
M_UART_REG_IER(ul_base_addr_of_uart) = 0x00;
M_UART_REG_MDR1(ul_base_addr_of_uart) = 0x00;
I want to receive and transfer data through DMA and I want to know how to use SDMA registers for UART operations.Please suggest me if something wrong here as I am not able to receive and transmit data through UART.