Debugging USART using Saleae logic probe


Results 1 to 15 of 15

Threaded View

  1. #6
    Join Date
    Jan 2005
    Location
    Montreal, Quebec, Canada
    Posts
    3,172


    Did you find this post helpful? Yes | No

    Default Re: Debugging USART using Saleae logic probe

    I spent all afternoon and then some yesterday trying to get these talking.

    Had them working in 5 minutes after posting. LOL

    I gave up and did the equivalent of stopping and asking for directions; I looked at my code from last summer real close and noticed this comment:

    Code:
    'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
    '                   RX must be input or else USART disrupted                   x
    'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
    I can't remember where I got this (didn't notice in the manual if it was there), but that was the problem.

    Robert


    EDIT: Now I remember, it was from the datasheet:
    For all modes of EUSART operation, the TRIS control
    bits corresponding to the RXx/DTx and TXx/CKx pins
    should be set to ‘1’. The EUSART control will
    automatically reconfigure the pin from input to output, as
    needed.
    Last edited by Demon; - 21st January 2014 at 03:20.

Similar Threads

  1. Saleae Logic Probe on sale at microchip.com
    By ScaleRobotics in forum Off Topic
    Replies: 40
    Last Post: - 27th September 2024, 11:26
  2. Kudos to Saleae for service
    By boroko in forum Adverts
    Replies: 1
    Last Post: - 19th May 2012, 14:38
  3. Logic Probe Recommendations
    By retepsnikrep in forum Off Topic
    Replies: 3
    Last Post: - 12th June 2011, 20:35
  4. Replies: 12
    Last Post: - 15th May 2011, 23:06
  5. PH Probe A/D Coverter ?
    By shawn in forum Schematics
    Replies: 10
    Last Post: - 27th August 2008, 10:44

Members who have read this thread : 2

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