Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.sys.raspberry-pi > #9789
| From | jeffj@panix.com (Jeff Jonas) |
|---|---|
| Newsgroups | comp.sys.raspberry-pi |
| Subject | Re: [serial com (rs232)] 9 bits needed |
| Date | 2015-10-11 00:28 -0400 |
| Organization | Jeff's House of Electronic Parts |
| Message-ID | <mvcoi3$mgj$1@panix5.panix.com> (permalink) |
| References | <mug5tm$r8s$1@speranza.aioe.org> |
In article <mug5tm$r8s$1@speranza.aioe.org>, andre <ahr@blabla.be> 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. "9 bit" is a hardware feature of the UART. Hardware support is best, unless you "bit-bang" the serial bits totally in software. >gcc can't be configurated for 9 bits (CS9 doesn't exist) It's not a compiler issue. Look at how the Microchip PIC or Atmel AVR do it: it's via control registers and data that are all 8-bit-bytes. >Is there another way to do it?? Software bit-banging.
Back to comp.sys.raspberry-pi | Previous | Next — Previous in thread | Find similar | Unroll 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