Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.sys.raspberry-pi > #9733

Re: [serial com (rs232)] 9 bits needed

From Tauno Voipio <tauno.voipio@notused.fi.invalid>
Newsgroups comp.sys.raspberry-pi
Subject Re: [serial com (rs232)] 9 bits needed
Date 2015-10-01 10:31 +0300
Organization A noiseless patient Spider
Message-ID <muindd$mui$1@dont-email.me> (permalink)
References <mug5tm$r8s$1@speranza.aioe.org>

Show all headers | View raw


On 30.9.15 11:19, andre wrote:
> I am trying to build a rs485 network using microcontrolers
> Microcontrolers have the hability to recieve 9 bits data.
> They use this as an 'adress'. If the adresse matches the folowing data
> (8bits) are read (causing an interrupt) otherwize they are ignored until
> the next adress.
> gcc can't be configurated for 9 bits (CS9 doesn't exist)
> Is there another way to do it??
> Many thanks in advances
> Andre

GCC is the compiler - it has nothing to do with serial communication.

On the 8250 family of serial interfaces (in the IBM PC way) have a
mode called 'stick parity' where you can send the ninth bit,
controlling it with the parity selection. On receive, you can
follow the parity error bit. Clumsy, but working.

-- 

-TV

Back to comp.sys.raspberry-pi | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[serial com (rs232)] 9 bits needed andre <ahr@blabla.be> - 2015-09-30 10:19 +0200
  Re: [serial com (rs232)] 9 bits needed Dom <domafp@blueyonder.co.uk> - 2015-09-30 09:39 +0100
    Re: [serial com (rs232)] 9 bits needed Rob <nomail@example.com> - 2015-09-30 10:37 +0000
  Re: [serial com (rs232)] 9 bits needed colonel_hack@yahoo.com - 2015-09-30 13:25 -0700
  Re: [serial com (rs232)] 9 bits needed Tauno Voipio <tauno.voipio@notused.fi.invalid> - 2015-10-01 10:31 +0300
  Re: [serial com (rs232)] 9 bits needed jeffj@panix.com (Jeff Jonas) - 2015-10-11 00:28 -0400

csiph-web