How Connecting dos devices USART one 2EUSART Pic multiplexed.


Closed Thread
Results 1 to 3 of 3
  1. #1
    Join Date
    May 2013
    Posts
    12

    Default How Connecting dos devices USART one 2EUSART Pic multiplexed.

    Hello,
    It is the first time that I have full communication ports, I2C, USB, EUSART, I'm using the PIC 18F46J50 and this has 2 EUSART, one I use for GPS, the other EUSART2 but would need the datasheet I see that are multiplexed.
    I like to know how they connect. If the two devices are connected to the same bus RX / TX. Summarizing How to connect two devices in the pic USART EUSART1 and EUSART2 that are multiplexed.
    Only there 2 pins TX1 and RX1 but the TX2 AND RX2 are multiplexed. View image.
    or look datasheet PIC 18F46J50: http://ww1.microchip.com/downloads/e...Doc/39931d.pdf

    Name:  Resume.jpg
Views: 858
Size:  229.7 KB
    The scheme of Figure 1 would be correct. or not!!! or as would the connection?.

    THX.

  2. #2
    Join Date
    Oct 2005
    Location
    Sweden
    Posts
    3,521


    Did you find this post helpful? Yes | No

    Default Re: How Connecting dos devices USART one 2EUSART Pic multiplexed.

    The term multiplexed in this case means the pins used for the EUSARTS are also used for other functions - it does not mean that both EUSARTS uses the same set of pins.
    EUSART1 is mapped to RC6 & RC7 as you show in the datasheet. EUSART2 can be mapped to any of RPx pins of the device. Read thru section 9.7 of the datasheet for further details.

    I've never seen this functionallity in a PIC before, thank you for pointing me to it! Looks extremely flexible!

    /Henrik.

  3. #3
    Join Date
    May 2013
    Posts
    12


    Did you find this post helpful? Yes | No

    Default Re: How Connecting dos devices USART one 2EUSART Pic multiplexed.

    Hello,
    I'll report on my progress, be if this work ... connecting two devices a pic TX2/RX2 mapping the other pins RPxx.
    Thank you.

Similar Threads

  1. Multiple serial devices to one pic
    By rshaver in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 16th October 2011, 15:34
  2. Connecting ibutton to pic!
    By jkbpower in forum Schematics
    Replies: 1
    Last Post: - 4th December 2008, 07:09
  3. MS-DOS Subsystem error
    By JoelMurphy in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 24th May 2008, 01:23
  4. Programmer for USB PIC devices
    By Doormatt in forum USB
    Replies: 1
    Last Post: - 29th August 2006, 11:47
  5. MicroPower (PIC) devices
    By uuq1 in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 20th June 2005, 04:08

Members who have read this thread : 1

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