16F913 setup


Closed Thread
Results 1 to 32 of 32

Thread: 16F913 setup

Hybrid View

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


    Did you find this post helpful? Yes | No

    Default

    You have 2 choice, my favorite is to set the configuration bits in the code see the following
    http://www.picbasic.co.uk/forum/showthread.php?t=543

    Code:
    @        __CONFIG _HS_OSC ; minimal configuration fuse setting
    or in MPLAB, click on Configure menu, then select Configuration bit
    Steve

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

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


    Did you find this post helpful? Yes | No

    Default

    Not with HyperTerminal!

    Code:
    DEFINE HSER_BAUD 9600 ; 9600 Baud 
    DEFINE HSER_RCSTA 90h ' Enable serial port & continuous receive
    DEFINE HSER_TXSTA 64h ' Enable transmit, BRGH = 1
    DEFINE HSER_BITS 9
    DEFINE HSER_EVEN 1
    DEFINE HSER_CLROERR 1 ; Clear overflow automatically
    DT

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


    Did you find this post helpful? Yes | No

    Default

    I'm i allowed to not understand???? Hypercrap worked here with that setting... but... erm, i admit i've never ever dare to open the datasheet to read TXSTA settings

    Feel lazy and tired today...
    Steve

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

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


    Did you find this post helpful? Yes | No

    Default

    Hypercrap worked here with that setting...
    Hmmm, interesting...

    Hyperterminal doesn't have a 9-bit option.

    9-bit transmission works with 8-bit reception?
    Very interesting.

    Added: Not being sarcastic... (i know, it's a first)
    It may actually be usefull.
    <br>
    DT

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


    Did you find this post helpful? Yes | No

    Default

    hence why i've never saw any interest to use it

    I thought it would show some parity error... seems not. let me check with real software

    As stated in the manual...
    DEFINE HSER_BITS 9 'Use 9th bit for parity

    maybe i need to sleep.
    Last edited by mister_e; - 18th December 2007 at 03:48.
    Steve

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

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


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by mister_e View Post
    maybe i need to sleep.
    You're a DJ.
    You can't sleep till after 2AM

    Still think 9/8-bit might be usefull. Not sure how though.
    <br>
    DT

Similar Threads

  1. ADCIN - setup of ADCON2
    By Lowell314 in forum mel PIC BASIC Pro
    Replies: 0
    Last Post: - 7th December 2009, 18:41
  2. TMR1 external LP xtal setup check
    By comwarrior in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 13th October 2009, 18:11
  3. ADCIN setup for PIC16F688
    By PixController in forum mel PIC BASIC Pro
    Replies: 0
    Last Post: - 29th February 2008, 18:38
  4. ADCIN setup help need
    By dangill in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 26th February 2008, 15:22
  5. Use Button For setup
    By tump in forum mel PIC BASIC Pro
    Replies: 14
    Last Post: - 21st November 2007, 19:43

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