Hi all,
we are using i.mx6ull for our product.using uart for communication with external device.when we are trying to transmit more than 4Kb of data,we are unable to receive on other end.please suggest how can we achieve to transmit more than 4kb(8KB).i tried by modifying UART_XMIT_SIZE value but not working.
Thanks & Regards,
Naga Prasad.
Hi @nagaprasad,
Then keep splitting your write calls to 4k.
I saw on google someone succeeded changing that define in the past. Perhaps it was different kernel, no DMA or something else. I take this as a weird kernel feature, which I need to live with...
Hi @nagaprasad,
Hi @nagaprasad,
Hi @Dhruvit,
still we are facing same issue,
for example: when we are trying to transmit 5120 bytes, it is able to transmit only 4095 bytes using serial port programming.
if your able to transmit more than 4095 bytes, please share the test application or patch file required to do changes.our requirement is should be able to transmit 8200 bytes without splitting data into two halfs for transmission.
please help us to resolve asap.
Thanks & Regards,
NagaPrasad.
Hi Dhruvit,
Thanks for your reply.
i have tried with enabling dma for uart but still facing same issue,please suggest if anything need to be done for enabling dma
uart5: serial@21f4000 {
compatible = "fsl,imx6ul-uart",
"fsl,imx6q-uart";
reg = <0x021f4000 0x4000>;
interrupts = <GIC_SPI 30 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&clks IMX6UL_CLK_UART5_IPG>,
<&clks IMX6UL_CLK_UART5_SERIAL>;
clock-names = "ipg", "per";
dmas = <&sdma 33 4 0>, <&sdma 34 4 0>;
dma-names = "rx", "tx";
status = "disabled";
};