Hserin/hserout ?


Closed Thread
Results 1 to 7 of 7

Hybrid View

  1. #1
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default

    mmm. Actually you don't need this DEFINE HSER_BAUD since DEFINE HSER_SPBRG do the same job but i don't think it's the problem source.

    What about if you remove the timeout label?

    Did you try Hyperterm or else to send the expected string to the PIC?
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

  2. #2
    Scott's Avatar
    Scott Guest


    Did you find this post helpful? Yes | No

    Default

    mister_e,

    Yes, I have been successfull connecting and sending the expected strings back to the PIC from the PC. Again, I do the same thing with the modem to hyperterminal and send the at commands and get the correct response.

    This is the first time I have tried to connect to the modem using the USART a MAX232 transceiver. Usually I utilize other pins and use SERIN/SEROUT inverted and non-inverted and it has been working well with some of my other hardware.

    I have changed the 232 transceiver with a ST232 and a MAX332 with the same results.

    Tonight I will use the same hardware then remove the trace to the USART and connect to PORTC.4 for my TX and PORTB.3 for RX and see if this works.

    Thanks, Scott

Similar Threads

  1. Help understanding HSERIN/HSEROUT
    By jmbanales21485 in forum mel PIC BASIC Pro
    Replies: 11
    Last Post: - 9th March 2021, 07:47
  2. Rs485 Using Hserin/hserout
    By koossa in forum mel PIC BASIC Pro
    Replies: 27
    Last Post: - 31st January 2008, 09:42
  3. Hserin/Hserout question
    By Philley in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 7th May 2007, 13:17
  4. Bit/Byte array for Hserin/Hserout
    By mrx23 in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 1st September 2006, 23:07
  5. Replies: 1
    Last Post: - 16th June 2005, 02:56

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