Hi Igor,
unfortunately, these patches don't solve the main problem, which is that
when UART peripheral gets disabled (Linux does this, but I don't
understand why, so can't tell anything more except that it happens) the
CTS_B signal, commonly used for control of RS485 transmitter, gets its
default value, which is logic '0' ie. "high voltage".
That happens on boot, and after each transmission, like
echo -n x > /dev/ttymxc4.
I've managed to fix the problem "after transmission", but not fully "on
boot", because for that I need to configure UART before its pins get
muxed, and Linux seems to do that first.
Best regards,
Adam
W dniu 2018-09-11 o 02:25, igorpadykov pisze:
>
NXP Community
<https://community.freescale.com/resources/statics/1000/35400-NXP-Community-Email-banner-600x75.jpg>
>
Re: i.MX6UL RS485 Linux driver
reply from igorpadykov
<https://community.nxp.com/people/igorpadykov?et=watches.email.thread>
in /i.MX Processors/ - View the full discussion
<https://community.nxp.com/message/1055435?commentID=1055435&et=watches.email.thread#comment-1055435>
>