Superp Posted December 14, 2021 at 08:52 AM Share Posted December 14, 2021 at 08:52 AM Hello, The documentation says #get_chip_temperature returns chip temperature in units of 1/10 °C for Master Bricks. I assume this is a typo, and it actually returns 1/100 °C. Quote Link to comment Share on other sites More sharing options...
borg Posted December 14, 2021 at 02:10 PM Share Posted December 14, 2021 at 02:10 PM The chip temperature is given in 1/10 °C. However, while looking up if 1/10 °C is correct i discovered that the SAM3 microcontrollers use a different formula for the internal chip temperature compared to the SAM4 microcontrollers. For the Master Bricks we switch back and forth between the two types (they both have the same pinout and hardware units) depending on availability. I attached a firmware that differentiates between the two formulas depending on what microcontroller your Master Brick has. One more thing: The accuracy is given as +-13°C full-scale and an additional +-7% error per degree change. So if it shows 10° while the processor is at 25° this is within spec. The chip temperature should however increase and decrease with the actual temperature (with a relative error of at most 7%). master-brick-2.5.1-beta.bin Quote Link to comment Share on other sites More sharing options...
Superp Posted December 14, 2021 at 02:19 PM Author Share Posted December 14, 2021 at 02:19 PM Thanks for your quick help and clarification. Since the units reported already vary depending on microcontroller, would it not be an idea to switch to 1/1 °C once and for all? I am eager to test the new FW, but as I already have 1 out of 2 Master Brick 3.1's stuck in bootloader mode, I must postpone this. I'll get back to you as soon as I can. Quote Link to comment Share on other sites More sharing options...
Superp Posted December 14, 2021 at 03:03 PM Author Share Posted December 14, 2021 at 03:03 PM I know this is a long shot, but: My Master Bricks have a type of microcontroller that is supposedly a 1:1 replacement for a different type, but which turns out to be different in at least 1 very small detail: °C scale. When I combine my Master Bricks into stacks with Wifi extension 2, their Wifi status LEDs act weird, and the stack becomes unresponsive when connected only via Wifi. Probably just coincidence. Quote Link to comment Share on other sites More sharing options...
Superp Posted December 21, 2021 at 10:47 AM Author Share Posted December 21, 2021 at 10:47 AM 2.5.1 Beta FW fixes this on my Master Bricks. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.