16F913 setup


Closed Thread
Results 1 to 32 of 32

Thread: 16F913 setup

Hybrid View

  1. #1


    Did you find this post helpful? Yes | No

    Default Quickie question...

    Most PIC's have a "weak pull up" for the MCLR pin. On the 16F913, I don't see this is an option in any register, however, on page 220 "Configuration Bits" [CONFIG1] there is a reference to MCLR. To tie it to VDD they say to enter "0" for this binary string. Wouldn't this mean that because you'd use a "0", if not entering CONFIG1 at all, it would automatically default to "0" and apply a weak-pull up on MCLR?

    Otherwise, I would have to have a resistor/cap tied to MCLR which I really don't have the room to do if it's not absolutely necessary.

    Frank

  2. #2
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default

    Not sure I understand what you are after but have you
    _MCLRE_OFF
    and made the pin an input?
    Dave
    Always wear safety glasses while programming.

  3. #3
    Join Date
    Nov 2007
    Location
    West Covina, CA
    Posts
    219


    Did you find this post helpful? Yes | No

    Default Use meProg window

    I found that the PIC16F913 INC file didn't have all the configs listed and had to use the meProg, View, Configuration screen to set the configs from before flashing the device.

    And thanks to Mark_S for that code sample. I had finally brought the 16F913 and LCD-S401M1TF to life using about 900 Words but rewriting using your example with the LookUp table and IF/THENs reduced it to just over 500 Words.
    Last edited by LinkMTech; - 17th April 2010 at 22:31. Reason: Shout out to Mark S
    Louie

  4. #4


    Did you find this post helpful? Yes | No

    Default No compiler for the 16F913

    Hello All,

    After getting everything together for the 913, I fired up MIcroCode Studio (for those who use PicBasic Pro) just to find out that they don't support the 16F913 and above.

    How does one know how to compile from PBP to the chip?!

  5. #5


    Did you find this post helpful? Yes | No

    Default MicroCode Studio alternative?

    [QUOTE=LinkMTech;88500]I found that the PIC16F913 INC file didn't have all the configs listed and had to use the meProg, View, Configuration screen to set the configs from before flashing the device.

    How were you able to send the program to your 16F913? Are you using Microcode Studio or something else. My "chip listing" for the 16F series only goes up to 16F88 on the non-pro version 3.0.0.5 and the same for the MCS Pro version. Is there something wrong on my end or does MCS not support this 16F913 series chip. I upgraded to PBP 2.6 just because it had this chip that I have to use!

    Frank
    Last edited by PulsarProFX; - 17th April 2010 at 23:47. Reason: Not enough info to qualify the question.

  6. #6
    Join Date
    Nov 2007
    Location
    West Covina, CA
    Posts
    219


    Did you find this post helpful? Yes | No

    Default MicroCode!

    I use MicroCode Studio PBP 2.47 with the MPASM compiler. It supports the 16F913 found in the drop down box.
    Louie

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