Hi,
I managed to use tty for rs232 via axi_uartlite and connected r232 pmod.
Now i wanted to use the rs485 PMOD via Linux on the Zedboard.
Therefore i wrote an IP-Core for setting DE / !RO.
My solution is to keep DE HIGH as long as the a LOW is written over TX. A Timer will keep DE High for at least WORD transmitted (let's say 10 Bytes) and will go LOW afterwards. Everytime a new LOW is written to TX the Counter will restart.
Via linux i can use the AXI-UARTLITE and send commands via tty but i cant receive them, only random ascii characters...
With a Scope i checked the DE signal and it works fine, but when i'm trying to read data it doenst work. But after a while it is possible to send data from pc to the pmod and read them via tty but then it's not possbile to send data via pmod... i hope you understood my problem.
Is there anything i have to think about?
I appreciate every help :)