RS485 serial communication for SAMA5D27-SOM1-EK1

This forum is for users of Microchip MPUs and who are interested in using Linux OS.

Moderator: nferre

ghasseenn
Posts: 6
Joined: Wed Jun 10, 2020 4:10 pm

RS485 serial communication for SAMA5D27-SOM1-EK1

Mon Jun 29, 2020 1:58 pm

I am using SAMA5D27-SOM1-EK1 board.

I am using Linux 4.14 kernel version build with Yocto project. I have build core-image-minimal distribution.

This is my board device-tree :
https://github.com/torvalds/linux/blob/ ... om1_ek.dts

I want to set up RS485 serial communication.

I do not want to use RTS Pin , jusr RX / TX / GND.

I want to know, in detailed steps :

how to do that ?
Which drivers must be build into my kernel for that ?
Which PINs I must use from my board ? ( I only need RX, TX, GND lines )
Which node in the device-tree is related to RS485 communication ?
Any modifications to do for the device-tree ?

Thank you.
blue_z
Location: USA
Posts: 2094
Joined: Thu Apr 19, 2007 10:15 pm

Re: RS485 serial communication for SAMA5D27-SOM1-EK1

Tue Jun 30, 2020 10:45 pm

ghasseenn wrote: I want to set up RS485 serial communication.

I do not want to use RTS Pin , jusr RX / TX / GND.

I want to know, in detailed steps :
Your exclusion is an incomplete specification (i.e. it's not "detailed").
The RTS line would control a transceiver in a half-duplex configuration.
Are you going to use full-duplex mode?

Regards
ghasseenn
Posts: 6
Joined: Wed Jun 10, 2020 4:10 pm

Re: RS485 serial communication for SAMA5D27-SOM1-EK1

Thu Jul 02, 2020 11:48 am

blue_z wrote:
Tue Jun 30, 2020 10:45 pm
ghasseenn wrote: I want to set up RS485 serial communication.

I do not want to use RTS Pin , jusr RX / TX / GND.

I want to know, in detailed steps :
Your exclusion is an incomplete specification (i.e. it's not "detailed").
The RTS line would control a transceiver in a half-duplex configuration.
Are you going to use full-duplex mode?

Regards
I want to use half-duplex mode
blue_z
Location: USA
Posts: 2094
Joined: Thu Apr 19, 2007 10:15 pm

Re: RS485 serial communication for SAMA5D27-SOM1-EK1

Fri Jul 03, 2020 8:29 pm

ghasseenn wrote: I do not want to use RTS Pin , jusr RX / TX / GND.
ghasseenn wrote: I want to use half-duplex mode
How is direction control going to be accomplished?

Regards

Return to “LINUX”

Who is online

Users browsing this forum: Google [Bot] and 2 guests