rs485 driver #stm32


Arsenii Soitu
 

Hello.
Is there any driver or may be some way to use rs485 on zephyr? May be someone used zephyr for rs485 communication with RE/DE support?
Thank you


Rodrigo Peixoto <rodrigopex@...>
 

Hi Arsenii.
I have already used that with an external transceiver driving the RE/DE every time we would write to and disable it after that as a generic GPIO (output). We write the data using a regular UART driver. The RS485 part is performed by the transceiver. 

I hope it helps.
Best regards,
Rodrigo Peixoto. 

On Wed, Sep 1, 2021 at 8:35 AM Arsenii Soitu <seniasoitu@...> wrote:
Hello.
Is there any driver or may be some way to use rs485 on zephyr? May be someone used zephyr for rs485 communication with RE/DE support?
Thank you


Dave Nadler
 

Careful, while that may work in some cases,
we've always needed to implement fast control of xmit/receive switching in the driver
to avoid multiple devices sometimes trying to drive the bus.

Can any Zephyr users/developers provide further information about driver support for RS-485??

Thanks,
Best Regards, Dave

On 9/2/2021 10:03 AM, Rodrigo Peixoto wrote:
Hi Arsenii.
I have already used that with an external transceiver driving the RE/DE every time we would write to and disable it after that as a generic GPIO (output). We write the data using a regular UART driver. The RS485 part is performed by the transceiver. 

I hope it helps.
Best regards,
Rodrigo Peixoto. 

On Wed, Sep 1, 2021 at 8:35 AM Arsenii Soitu <seniasoitu@...> wrote:
Hello.
Is there any driver or may be some way to use rs485 on zephyr?
May be someone used zephyr for rs485 communication with RE/DE support?
Thank you
_._,_._,_

Links:

You receive all messages sent to this group.

View/Reply Online (#2694) | Reply To Sender | Reply To Group | Mute This Topic | New Topic
Mute #stm32
Your Subscription | Contact Group Owner | Unsubscribe [drn@...]


-- 
Dave Nadler, USA East Coast voice (978) 263-0097, drn@..., Skype 
 Dave.Nadler1