Will check and come back - have study exampel files from Microchip where I found some CONFIG words.
Will check and come back - have study exampel files from Microchip where I found some CONFIG words.
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
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...
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...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.
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?
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????
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
Bookmarks