Using 9th bit in RS422


Closed Thread
Results 1 to 2 of 2
  1. #1
    prylbogen's Avatar
    prylbogen Guest

    Default Using 9th bit in RS422

    Does anyone know if Picbasic Pro allows the developer to control the 9th bit in serial communication (RS422/RS485)? I know it can be used for parity, but i need to use it as an address bit in a master/multiple slaves scenario.

  2. #2
    Join Date
    Mar 2003
    Location
    Commerce Michigan USA
    Posts
    1,166


    Did you find this post helpful? Yes | No

    Default

    prylbogen, The 9th bit can be set for a particular transmission in the TXSTA register by first enabling the TXSTA.6 bit and then setting the state of the bit in TXSTA.0. For the receive side enable 9 bit reception by enabling RXSTA.6 and look at RXSTA.0 for ste received state of the 9th bit.

    Dave Purola,
    N8NTA

Similar Threads

  1. Bits, Bytes Words and Arrays
    By Melanie in forum FAQ - Frequently Asked Questions
    Replies: 24
    Last Post: - 14th June 2016, 07:55
  2. Doubt with interrupt on change
    By lugo.p in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 5th March 2010, 15:22
  3. Sleep Mode
    By Pesticida in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 13th March 2008, 10:31
  4. PICBasic newbie problem
    By ELCouz in forum mel PIC BASIC Pro
    Replies: 32
    Last Post: - 12th February 2008, 00:55
  5. USART interrupt not interrupting right
    By Morpheus in forum mel PIC BASIC Pro
    Replies: 12
    Last Post: - 6th March 2005, 01:07

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts