DT_INT + 16F72 - what am I missing?


Closed Thread
Results 1 to 10 of 10

Hybrid View

  1. #1
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    4,115


    Did you find this post helpful? Yes | No

    Default

    What is your hardware? I mean how is the controller connected to the PC?

    How are you sending the serial data stream?

    Ioannis

  2. #2
    Join Date
    Nov 2009
    Location
    London
    Posts
    251


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by Ioannis View Post
    What is your hardware? I mean how is the controller connected to the PC?

    How are you sending the serial data stream?

    Ioannis
    I have an RF receiver attached to the unit. I even tried to remove the receiver and connect both PICs hard wired. Still no response.
    By the way, just to confirm that for the 16F72 do I need to connect 100nF anywhere else as well, I have one already connected to pin 19/20. Vss is supplied to pin 19 & 8, Vdd goes to pin20 only.

  3. #3
    Join Date
    Jul 2003
    Posts
    2,405


    Did you find this post helpful? Yes | No

    Default

    Have you tried disabling the Timer1 interrupt to see if it responds to serial data?
    Regards,

    -Bruce
    tech at rentron.com
    http://www.rentron.com

  4. #4
    Join Date
    Nov 2009
    Location
    London
    Posts
    251


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by Bruce View Post
    Have you tried disabling the Timer1 interrupt to see if it responds to serial data?
    Yes I did, still no luck.

  5. #5
    Join Date
    Jul 2003
    Posts
    2,405


    Did you find this post helpful? Yes | No

    Default

    If you're using v2.6 you may want to switch to SERIN2 or DEBUGIN. SERIN has known timing issues: http://melabs.com/support/pbpissues.htm
    Regards,

    -Bruce
    tech at rentron.com
    http://www.rentron.com

  6. #6
    Join Date
    Nov 2009
    Location
    London
    Posts
    251


    Did you find this post helpful? Yes | No

    Default

    I have got V2.5. Can I still try using DEBUG?

  7. #7
    Join Date
    Jul 2003
    Posts
    2,405


    Did you find this post helpful? Yes | No

    Default

    Yes. DEBUGIN should work fine. I would disable interrupts too. At least until you can get your serial input working.
    Regards,

    -Bruce
    tech at rentron.com
    http://www.rentron.com

  8. #8
    Join Date
    Jul 2003
    Location
    Colorado Springs
    Posts
    4,959


    Did you find this post helpful? Yes | No

    Default

    > Serin PortB.7, N2400,["D33",get0]

    With that statement, get0 is a qualifier.
    I think you wanted that to be the variable that receives the data.
    So it should be outside of the square brackets.

    Serin PortB.7, N2400,["D33"],get0
    DT

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