RS232 & PIC18F


Closed Thread
Results 1 to 3 of 3

Thread: RS232 & PIC18F

Hybrid View

  1. #1
    Christos_K's Avatar
    Christos_K Guest


    Did you find this post helpful? Yes | No

    Default

    Well something weired is happening now..Apparently I should have set the oscillator configuration bit to HS..(can anyone explain to me what are the differences of say xt, hs, lp tec?)..When i connect it starts showing dummy characters but when i press the reset button it sends the hello word as it should be...If i disconnect and connect again the same thing happens...I need to press reset ...Can anyone figure out or suggest why this is happening?

  2. #2
    angelika's Avatar
    angelika Guest


    Did you find this post helpful? Yes | No

    Default

    I think:

    TXSTA=%00100100 ' Enable transmit and asynchronous mode , 24h and not 20h
    DECLARE HSERIAL_CLEAR=ON ' Optionally clear the buffer before receiving
    Clear the overflow error bit before commencing a read.

    if I will find other wrong then I post it.(sorry for my bad english).

Similar Threads

  1. pic18f driving usb printers
    By ephesus in forum USB
    Replies: 18
    Last Post: - 22nd March 2012, 03:07
  2. Universal remote and Rs232
    By Michael in forum mel PIC BASIC Pro
    Replies: 8
    Last Post: - 7th February 2010, 18:55
  3. UART vs software RS232
    By Michael in forum mel PIC BASIC Pro
    Replies: 27
    Last Post: - 5th September 2008, 19:27
  4. RS232 into 2 PC ports
    By manxman in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 30th August 2008, 14:33
  5. PIC18F4680 to PC via MAX232 (RS232 serial) no output
    By opticsteam1 in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 14th April 2008, 21:39

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