I configured uart0(as ttyPS1) to the MIO on the PS side, Then I tested ttyPS1 to communicate with the PC, receive and send are correct
But when I connect uart0(ttyPS1) to my GPS module, I can't receive any data, which makes me confused, not level shifting's problem.
Here is the message of cat /proc/tty/driver/xuartps when I communicate with PC:
0:uart:xuartps mmio:0XE0001000 irq:26 tx:6149 rx:662 RTS|CTS|DTR|DSR|CD
1:uart:xuartps mmio:0XE0000000 irq:25 tx:116 rx:146 CTS|DSR|CD
When I connect with my GPS module ,the message is this:
0:uart:xuartps mmio:0XE0001000 irq:26 tx:1252 rx:221 RTS|CTS|DTR|DSR|CD
1:uart:xuartps mmio:0XE0000000 irq:25 tx:0 rx:0 CTS|DSR|CD
Even though my gps module has been sending data to ttyPS1, it doesn't receive any data, just like the information above.
Does anyone have the experience of this kind of problem?