UART DMA unsolicited stop working while transfer huge amount of data

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

UART DMA unsolicited stop working while transfer huge amount of data

878 Views
micham
Contributor I

Using kernel 3.0.35-I4.0.0 with ttymxc2 activated RTS/CTS and DMA transfer for HCI communication.

During hcd file download approx. 52,7 kB the transfer stops and dmesg shows "We cannot prepare for the RX slave dma!". In this situation sshd cannot accept any new connections. Active ssh connections are not effected. The sshd seems to be a side effect of broken DMA controller.

Is there a fix available in 3.0.35-I4.1.0? If so, is this fix patchable on 4.0.0?

Labels (1)
0 Kudos
1 Reply

337 Views
igorpadykov
NXP Employee
NXP Employee

Hi Michael

it is not recommended to use DMA for BT because depending on the BT service could

be a lot of traffic which the DMA could not handle on time.

There was a similar problems on the i.mx53 solved with attached pacthes, one can try them.

Also it is recommended to try latest BSP, since it fixed many SDMA issues.

L3.10.17_1.0.0_IMX6QDLS_BUNDLE : Source Code Download Steps Documentation and Demo Images.

Best regards

igor

-----------------------------------------------------------------------------------------------------------------------

Note: If this post answers your question, please click the Correct Answer button. Thank you!

-----------------------------------------------------------------------------------------------------------------------

.

0 Kudos