12F675 cant serout to PC


Closed Thread
Results 1 to 10 of 10

Hybrid View

  1. #1


    Did you find this post helpful? Yes | No

    Default

    I have tryed that but if i use that line it does not work ( doesnt send data nor the led in gpio.2 blinks )

    .

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


    Did you find this post helpful? Yes | No

    Default

    what happen if you change MCLR_ON to MCLR_OFF?

    Are you sure it's a 4MHZ crystal?

    Can you measure it with a scope?
    Steve

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

  3. #3


    Did you find this post helpful? Yes | No

    Default

    I'm not using any Max232

    About the MCLR, when on i hooked it to vdd, also tryed off and result is the same.

    The caps for the xtal are both 22pF

    I'm using the Serin program to get the data from serial

    .

  4. #4


    Did you find this post helpful? Yes | No

    Default

    i can try using the internal osc...but will have to use MCLR on or i will lock my pic :S

    IC-Prog has 2 choices...

    INTOSC GP4

    and

    INTOSC CLKOUT

    which one may i use ?

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


    Did you find this post helpful? Yes | No

    Default

    I'm not using any Max232
    AH CRAP, i really need new glasses... so just change your SEROUT2 baud constant to use inverted mode... and it will work

    Code:
    baud	Serout2
    ----	-------
    9600 	16488
    4800 	16572
    2400 	16780
    with 1-10K resistor in serie, this have to work.

    I would suggest you to use DEBUG, it use less code space and may work on higher baudrate with slower crystal speed.
    Last edited by mister_e; - 2nd December 2007 at 23:51.
    Steve

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

  6. #6


    Did you find this post helpful? Yes | No

    Default

    The SEROUT2 baud constant table did not worked as well...

    but...

    using DEBUG worked 5*****

    I guess it's because the low speed xtal

    Thanks once again Mister-e


    .

Similar Threads

  1. A Serial GLCD 128x64 Simple Project
    By Oldspring in forum Off Topic
    Replies: 0
    Last Post: - 8th March 2010, 20:58
  2. Serout to serial servo
    By azmax100 in forum mel PIC BASIC Pro
    Replies: 20
    Last Post: - 12th August 2009, 16:46
  3. Advice-scrutiny for my serial controller
    By kevlar129bp in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 13th December 2008, 17:11
  4. Keypad unlock (as in garage door possibly)
    By Fred in forum Code Examples
    Replies: 5
    Last Post: - 2nd April 2006, 04:26
  5. Replies: 4
    Last Post: - 7th September 2005, 14:11

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