![]() |
Forum Index : Microcontroller and PC projects : MicroMite Beta 17
![]() ![]() |
|||||
Author | Message | ||||
OA47 Guru ![]() Joined: 11/04/2012 Location: AustraliaPosts: 986 |
I am using the 150 chips. |
||||
Geoffg![]() Guru ![]() Joined: 06/06/2011 Location: AustraliaPosts: 3292 |
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: 3292 |
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: 986 |
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: 6283 |
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 |
||||
OA47 Guru ![]() Joined: 11/04/2012 Location: AustraliaPosts: 986 |
Excellent thought Jim. Isn't it great that there are more ways to skin a cat ![]() |
||||
![]() ![]() |
![]() |
![]() |
The Back Shed's forum code is written, and hosted, in Australia. | © JAQ Software 2025 |