All of lore.kernel.org
 help / color / mirror / Atom feed
From: Philippe Gerum <rpm@xenomai.org>
To: Leandro Bucci <guestleandro11@gmail.com>
Cc: xenomai@xenomai.org
Subject: Re: Serial Port
Date: Thu, 11 Feb 2021 13:52:10 +0100	[thread overview]
Message-ID: <87r1lmkbr9.fsf@xenomai.org> (raw)
In-Reply-To: <CAFZ-hKgWry7tMon0SiDSjkAWgamznLzS_dfjLkUzB_n36-JJtQ@mail.gmail.com>


Leandro Bucci via Xenomai <xenomai@xenomai.org> writes:

> hello everyone, I wanted to ask if it is possible to make two devices
> (Raspberry with xenomai) communicate through rs232 serial port, without
> having to go to Linux and do domain switch

There is more than a single PI model, you may want to be more
specific. Anyway, there are two types of uarts on a pi, one or more
PL011 uarts and a single mini-uart which is a 8250. The CPU frequency
affects the baud rate of the mini-uart, so using it implies fixing the
governor to get a stable rate. Although there is a RTDM driver for the
8250, there is none for the the PL011.

Back to your question, the answer is yes, provided you implement a RTDM
driver for the PL011 uart unless the capabilities and requirements of
the mini-uart are fine with you.

-- 
Philippe.


  reply	other threads:[~2021-02-11 12:52 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-02-11 11:22 Serial Port Leandro Bucci
2021-02-11 12:52 ` Philippe Gerum [this message]
  -- strict thread matches above, loose matches on Subject: below --
2007-11-10 21:31 serial port Robert Millan
2007-11-18 11:33 ` Marco Gerards
2007-11-18 11:56   ` Robert Millan
2007-11-18 12:12     ` Vesa Jääskeläinen
2007-11-18 12:24       ` Robert Millan
2007-11-18 12:41         ` Marco Gerards
2007-11-18 12:32       ` Marco Gerards
2007-11-18 12:43         ` Vesa Jääskeläinen
2007-11-19  7:18       ` Daryl Van Humbeck
2007-11-19 17:13         ` Vesa Jääskeläinen
2007-11-18 12:14     ` Marco Gerards
2005-02-17  7:41 Tim Newsham
2005-02-18  1:36 ` Tim Newsham
2004-07-24 15:11 serial port read working but not write Jan-Benedict Glaw
2004-08-03 17:41 ` Serial port suresh shenoy

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87r1lmkbr9.fsf@xenomai.org \
    --to=rpm@xenomai.org \
    --cc=guestleandro11@gmail.com \
    --cc=xenomai@xenomai.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.