hi,
i am using a preexisting edma setup for the MCasp and i am trying to use the edma for getting data from the uart (uart2) by setting up another edma channel that triggers a different interrupt.
the first problem is that the dma does not read more than on word from the uart and the uart (in fifo mode) does not clear so that the next word can be read. although, the interrupt does occur so i can "manually" read from the uart's RBR every interrupt enabling me to get the data from the uart.
this leads to the second problem that is that when i combine the two codes (one for the MCasp and one for the uart) and want to work with both interrupts (i have set the uart's SWI to be at a higher priority) the uarts interrupts do not always work and some data is absent. i was thinking that this could be related to the "event queue" for the dma but its just a hunch. is there anything important to change in the edma's setup if i want different edma events on different channels? (there are two events for the MCasp- event0 and event1, and event 30 for the uart2).
i am working with a logicpd experimenters board with an omap-l138.