Code: Select all
usart1: serial@f0020000 {
pinctrl-0 = <&pinctrl_usart1 &pinctrl_usart1_rts_cts>;
atmel,use-dma-rx;
atmel,use-dma-tx;
status = "okay";
};
usart2: serial@f8020000 {
pinctrl-0 = <&pinctrl_usart2 &pinctrl_usart2_rts_cts>;
atmel,use-dma-rx;
atmel,use-dma-tx;
status = "okay";
};
stty -F /dev/ttyS2 -echo -onlcr
The problem is after receiving 2048 bytes the USART just stops receiving until I restart the USART.
I am just sending bytes from a file to /dev/ttyS2
cat testLines > /dev/ttyS2
and then
cat < /dev/ttyS2
Here is my current stty configuration
Code: Select all
stty -F /dev/ttyS3 -a
atmel_usart f8020000.serial: using dma1chan6 for rx DMA transfers
atmel_usart f8020000.serial: using dma1chan7 for tx DMA transfers
speed 9600 baud; rows 0; columns 0; line = 0;
intr = ^C; quit = ^\; erase = ^?; kill = ^U; eof = ^D; eol = <undef>;
eol2 = <undef>; swtch = <undef>; start = ^Q; stop = ^S; susp = ^Z; rprnt = ^R;
werase = ^W; lnext = ^V; flush = ^O; min = 1; time = 0;
-parenb -parodd -cmspar cs8 -hupcl -cstopb cread -clocal -crtscts
-ignbrk brkint -ignpar -parmrk -inpck -istrip -inlcr -igncr icrnl -ixon -ixoff
-iuclc -ixany imaxbel -iutf8
opost -olcuc -ocrnl -onlcr -onocr -onlret -ofill -ofdel nl0 cr0 tab0 bs0 vt0 ff0
isig icanon iexten -echo echoe echok -echonl -noflsh -xcase -tostop -echoprt
echoctl echoke