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: AustraliaPosts: 926 |
I am using the 150 chips. |
||||
Geoffg Guru Joined: 06/06/2011 Location: AustraliaPosts: 3196 |
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: AustraliaPosts: 3196 |
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: AustraliaPosts: 926 |
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: AustraliaPosts: 6102 |
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: AustraliaPosts: 926 |
Excellent thought Jim. Isn't it great that there are more ways to skin a cat |
||||
Page 2 of 2 |
Print this page |