16f88


Closed Thread
Results 1 to 12 of 12

Thread: 16f88

Hybrid View

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


    Did you find this post helpful? Yes | No

    Default

    make an F88 all digital will be done by using this simple line...
    ANSEL=0 ' disable all ADCs

    if you feel safe to disable analog comparator that are already disable at POR
    CMCON=7 ' disable all analog comparator

    That's it that's all... basketball!
    Steve

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

  2. #2
    darkman's Avatar
    darkman Guest


    Did you find this post helpful? Yes | No

    Default

    steve do you send full config word exempla here for 16F88 ?

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


    Did you find this post helpful? Yes | No

    Default

    config??? Fuses? registers?

    Sorry i need more words to post words
    Steve

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

  4. #4
    darkman's Avatar
    darkman Guest


    Did you find this post helpful? Yes | No

    Default

    I need how to write fuses

  5. #5
    Join Date
    Jul 2003
    Posts
    2,358


    Did you find this post helpful? Yes | No

    Default

    There's a long and detailed FAQ Thread on the subject... go look...

  6. #6
    darkman's Avatar
    darkman Guest


    Did you find this post helpful? Yes | No

    Default

    heheheh
    I'm receive in 1 second answer for to my question in : www.edaboard.com

    :

    Hi !

    You can use the line in the beginning of your basic program:

    @ DEVICE PIC16F88, followed by the fuses options:

    EXTRC_OSC_CLKOUT equ 3FEC0013h ; XX XXXX XXX1 XX11
    EXTRC_OSC_NOCLKOUT equ 3FEC0012h ; XX XXXX XXX1 XX10
    EXTRC_OSC equ 3FEC0012h ; XX XXXX XXX1 XX10
    INTRC_OSC_CLKOUT equ 3FEC0011h ; XX XXXX XXX1 XX01
    INTRC_OSC_NOCLKOUT equ 3FEC0010h ; XX XXXX XXX1 XX00
    INTRC_OSC equ 3FEC0010h ; XX XXXX XXX1 XX00
    EXTCLK_OSC equ 3FEC0003h ; XX XXXX XXX0 XX11
    EC_OSC equ 3FEC0003h ; XX XXXX XXX0 XX11
    HS_OSC equ 3FEC0002h ; XX XXXX XXX0 XX10
    XT_OSC equ 3FEC0001h ; XX XXXX XXX0 XX01
    LP_OSC equ 3FEC0000h ; XX XXXX XXX0 XX00
    WDT_ON equ 3FFB0004h ; XX XXXX XXXX X1XX
    WDT_OFF equ 3FFB0000h ; XX XXXX XXXX X0XX
    PWRT_ON equ 3FF70000h ; XX XXXX XXXX 0XXX
    PWRT_OFF equ 3FF70008h ; XX XXXX XXXX 1XXX
    MCLR_ON equ 3FDF0020h ; XX XXXX XX1X XXXX
    MCLR_OFF equ 3FDF0000h ; XX XXXX XX0X XXXX
    BOD_ON equ 3FBF0040h ; XX XXXX X1XX XXXX
    BOD_OFF equ 3FBF0000h ; XX XXXX X0XX XXXX
    LVP_ON equ 3F7F0080h ; XX XXXX 1XXX XXXX
    LVP_OFF equ 3F7F0000h ; XX XXXX 0XXX XXXX
    CPD_ON equ 3EFF0000h ; XX XXX0 XXXX XXXX
    CPD_OFF equ 3EFF0100h ; XX XXX1 XXXX XXXX
    WRT_1FOURTH equ 39FF0000h ; XX X00X XXXX XXXX
    WRT_HALF equ 39FF0200h ; XX X01X XXXX XXXX
    WRT_3FOURTHS equ 39FF0400h ; XX X10X XXXX XXXX
    WRT_OFF equ 39FF0600h ; XX X11X XXXX XXXX
    DEBUG_ON equ 37FF0000h ; XX 0XXX XXXX XXXX
    DEBUG_OFF equ 37FF0800h ; XX 1XXX XXXX XXXX
    CCPMX_ON equ 2FFF0000h ; X0 XXXX XXXX XXXX
    CCPMX_OFF equ 2FFF1000h ; X1 XXXX XXXX XXXX
    PROTECT_ON equ 1FFF0000h ; 0X XXXX XXXX XXXX
    PROTECT_OFF equ 1FFF2000h ; 1X XXXX XXXX XXXX
    FCMEN_OFF equ 3FFE0000h ; XX XXXX XXXX XXX0
    FCMEN_ON equ 3FFE0001h ; XX XXXX XXXX XXX1
    IESO_OFF equ 3FFD0000h ; XX XXXX XXXX XX0X
    IESO_ON equ 3FFD0002h ; XX XXXX XXXX XX1X

    for example:

    @ DEVICE PIC16F88, XT_OSC,WDT_ON,PWRT_ON,MCLR_OFF, etc

    It will generate the bits config fuses to be burned on your PIC.


    @mel : I love your answers your answers always go and read datasheet

  7. #7
    Join Date
    Jul 2003
    Posts
    2,358


    Did you find this post helpful? Yes | No

    Default

    No, my answer was that you go look in the FAQ section of THIS FORUM where your question (which has been asked many times before) was answered in great detail, not only with the answer which you have received which is good for the PM Assembler, but also for the MPASM Assembler that comes with MPLAB. Not only that, but there's a host of other information there which you may not have received. Do you now know where to look to find them, or when you change your PIC are you going to ask somebody for the CONFIG definitions for that chip too?

    Like the old saying, "if you feed somebody, they'll be fed for a day, but if you teach them to fish, you'll feed them for a lifetime". I'm trying to stop people asking for handouts all the time, and trying to get them to fish. In your case I directed you to the EXACT SPOT where you would have found what you needed. But to click on the FAQ section and then to look down the list is obviously too difficult, so instead of following two mouse-clicks you asked the question elsewhere - obviously the easier choice from your perspective.

    But since you mention it, if more people made the effort to SEARCH the posts (and if you did that then you would also have found the answers) on this forum FIRST (and also look at the Datasheet), then they would have the answers... but that of course is too difficult to do. It's much easier to ask a question and have an answer served up on a plate.

Similar Threads

  1. Code works on 16F84A but not on 16F88?
    By pharaohamps in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 6th November 2009, 19:29
  2. Can't get a 16F88 to do anything.
    By ccowley in forum General
    Replies: 14
    Last Post: - 26th August 2008, 00:42
  3. 16F88 RA6 and RA7 troubles
    By gandora in forum mel PIC BASIC Pro
    Replies: 8
    Last Post: - 3rd August 2007, 03:57
  4. 16f88 help
    By ccsparky in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 3rd July 2004, 18:50
  5. 4 line LCD with 16F88
    By anj in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 7th February 2004, 10:06

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