Config problem PIC16F886


Closed Thread
Results 1 to 40 of 56

Hybrid View

  1. #1
    Join Date
    Sep 2006
    Posts
    35


    Did you find this post helpful? Yes | No

    Default Config word

    Hi Skimask,
    First thank you for your earlier info
    Can you tell me how to find out wich configuration I have - how to calculate or find out in another way.

    My code runs with internal OSC 8 MHz (I hope) but after leaving the PCB for some hours, it need time to start normal. Reading DS1990A and first time touching the probe nothing happens, second time all O.K - after about 10 sec all works normal and it also works if you touch direct after each other - touching of course allways with different DS1990A and after each reading the variable holding the code resets.

    Config word: 20E4 0600

  2. #2
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by Bosse View Post
    Hi Skimask,
    First thank you for your earlier info
    Can you tell me how to find out wich configuration I have - how to calculate or find out in another way.
    You've already been given all the information you need during the course of this thread to figure that out for yourself. Go back and read and re-read and re-read and repeat...

    My code runs with internal OSC 8 MHz (I hope) but after leaving the PCB for some hours, it need time to start normal. Reading DS1990A and first time touching the probe nothing happens, second time all O.K - after about 10 sec all works normal and it also works if you touch direct after each other - touching of course allways with different DS1990A and after each reading the variable holding the code resets.
    Rephrase the sentences above. They aren't making a lot of sense to me...might to somebody else, but the grammar just isn't quite working out...
    The way I read it...The program runs, then it stops, then you touch something, it runs, restart it, doesn't want to restart, but will after a few seconds, then the code resets?

  3. #3
    Join Date
    Sep 2006
    Posts
    35


    Did you find this post helpful? Yes | No

    Default

    Have a code how runs nice on a F88 - thats why I think something is wrong with configuration word for the F886. It seems that I need to touch the probe 2-3 times or reading in more than one time before it reads correct. After one good reading all works, looks that it stops up and needs to wake up before it works????

  4. #4
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by Bosse View Post
    Have a code how runs nice on a F88 - thats why I think something is wrong with configuration word for the F886. It seems that I need to touch the probe 2-3 times or reading in more than one time before it reads correct. After one good reading all works, looks that it stops up and needs to wake up before it works????
    Since an F88 is an 18 pin device and an F886 is a 28 pin device, it sounds to me like you've got a hardware problem, a grounding problem most likely since you have to actually touch (ground) the device to get it to work for you.
    What are you building this circuitry on?

  5. #5
    Join Date
    Sep 2006
    Posts
    35


    Did you find this post helpful? Yes | No

    Smile

    Have ordered some PCB's for prototype testing from PCBCart China - have checked if there is any grounding problem and all looks O.K. Have now changed the code so all variables are reset in the beginning of the code and used the same code from F88 except CONFIGURATION word and now it runs nice. Will test same days then I know for sure.

    Thanks again from an old Swede trying to learn

Similar Threads

  1. A/D conversion with PIC18F67J50
    By ScaleRobotics in forum mel PIC BASIC Pro
    Replies: 9
    Last Post: - 8th May 2009, 01:48
  2. 18F4550 Bootloader enter via eeprom setting
    By bradb in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 22nd November 2008, 23:51
  3. Error 0X0000008E when connecting a 18F2550 USB HID
    By FranciscoMartin in forum USB
    Replies: 8
    Last Post: - 16th October 2008, 17:20
  4. PortE problems (PIC18F4455)
    By RubenR in forum mel PIC BASIC Pro
    Replies: 15
    Last Post: - 12th July 2006, 15:26
  5. Installation sequence
    By Demon in forum General
    Replies: 23
    Last Post: - 11th July 2006, 03:56

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