2 am - Given up now - Can't figure out the problem. Using DT_Int. PLEASE help


Closed Thread
Results 1 to 5 of 5

Hybrid View

  1. #1
    Join Date
    May 2008
    Location
    Italy
    Posts
    825


    Did you find this post helpful? Yes | No

    Default Re: 2 am - Given up now - Can't figure out the problem. Using DT_Int. PLEASE help

    You Are sending twice the same code and then you compare code1 with code to see if same value. This is wise but is giving you problem with the synchronism since you have no handshaking.

    Suggestion: remove the compare feature and work with a single byte sent. If your code works has you expect then re-install the double sending feature and try with a higher baud rate (9600) and with a delay between the first byte and the second one (this on the device that Tx the byte)

    Cheers

    Al.
    All progress began with an idea

  2. #2


    Did you find this post helpful? Yes | No

    Default Re: 2 am - Given up now - Can't figure out the problem. Using DT_Int. PLEASE help

    Quote Originally Posted by aratti View Post
    You Are sending twice the same code and then you compare code1 with code to see if same value. This is wise but is giving you problem with the synchronism since you have no handshaking.

    Suggestion: remove the compare feature and work with a single byte sent. If your code works has you expect then re-install the double sending feature and try with a higher baud rate (9600) and with a delay between the first byte and the second one (this on the device that Tx the byte)

    Cheers

    Al.
    Thanks Al. My baud cannot increase to beyond 2400 because of other hardware limitations. I use the same format in every other PIC I use, and it works. But this combination of 676 & 72 has made me crazy. Currently everything is on my breadboard. Rx is fully responding to the first few signals on the Tx but not ALL.
    ___________________
    WHY things get boring when they work just fine?

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