Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 11:48 29 Nov 2024 Privacy Policy
Jump to

Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.

Forum Index : Microcontroller and PC projects : MicroMite Beta 17

     Page 2 of 2    
Author Message
OA47

Guru

Joined: 11/04/2012
Location: Australia
Posts: 926
Posted: 11:51am 13 Apr 2014
Copy link to clipboard 
Print this post

  WhiteWizzard said   Keith, Graeme:
Are you using the 40MHz or 50MHz versions of the 28pin PICs??

Graeme: The 150 or 250??

Thanks . . .

PS: I will look at this on analyser when I get home to see if I can work out what is happening.


I am using the 150 chips.

 
Geoffg

Guru

Joined: 06/06/2011
Location: Australia
Posts: 3196
Posted: 12:49pm 13 Apr 2014
Copy link to clipboard 
Print this post

Thanks Graeme and Keith,

The 1-wire routines use software loops for timing and that could be the source of the problem. These loops should compensate for changes in the CPU speed but the problem might be that they cannot accurate execute the short timings at the slow clock speed.

I will check further.

Geoff
Geoff Graham - http://geoffg.net
 
Geoffg

Guru

Joined: 06/06/2011
Location: Australia
Posts: 3196
Posted: 02:59pm 13 Apr 2014
Copy link to clipboard 
Print this post

OK, that was the problem. It will be fixed in the final release.

Thanks again fellows,
Geoff
Geoff Graham - http://geoffg.net
 
OA47

Guru

Joined: 11/04/2012
Location: Australia
Posts: 926
Posted: 11:41am 26 Apr 2014
Copy link to clipboard 
Print this post

  Geoffg said   Thanks Graeme and Keith,

The 1-wire routines use software loops for timing and that could be the source of the problem. These loops should compensate for changes in the CPU speed but the problem might be that they cannot accurate execute the short timings at the slow clock speed.

I will check further.

Geoff


  Quote  OK, that was the problem. It will be fixed in the final release.

Thanks again fellows,
Geoff


It still seems that there is an issue with the DS18B20 at low frequency setting in the final release. When CPU 5 is set and a request for temperature measurement is made the error "cpu speed too low " is returned. I am using the micromite in a remote solar powered situation and any saving in power use is sought after.

Just one to keep in mind.
 
TassyJim

Guru

Joined: 07/08/2011
Location: Australia
Posts: 6102
Posted: 01:24pm 26 Apr 2014
Copy link to clipboard 
Print this post

  Graeme Meager said  
It still seems that there is an issue with the DS18B20 at low frequency setting in the final release. When CPU 5 is set and a request for temperature measurement is made the error "cpu speed too low " is returned. I am using the micromite in a remote solar powered situation and any saving in power use is sought after.

Just one to keep in mind.

Could you change the CPU speed to a higher setting for the DS18B20 routine and then change it back to 5MHz afterwards?

I was planning on doing speed changes in a solar powered installation to save power when the micromite is waiting for events of interest to occur.

Jim
VK7JH
MMedit   MMBasic Help
 
OA47

Guru

Joined: 11/04/2012
Location: Australia
Posts: 926
Posted: 01:48pm 26 Apr 2014
Copy link to clipboard 
Print this post

Excellent thought Jim. Isn't it great that there are more ways to skin a cat
 
     Page 2 of 2    
Print this page


To reply to this topic, you need to log in.

© JAQ Software 2024