Hi,
I think that the problem resides in the HAT, but is erratic.
My HAT is mounted on top of an raspi PI 4.
HAT's configuration is like out of the box, I never changed anything.
Firmware Version is 2.0.3.
Raspi ist powered with an original Raspi power supply,
HAT says 5.17Volt.
On the HAT is connected:
1 Compass Bricklet
1 DC Bricklet 2.0
1 Hall Effect Bricklet 2.0
All Bricklets have the latest Firmware.
All LED's are shining, NOT blinking.
In the BrickViewer I pressed the "Sleep Now" Button on the HAT Brick Tab .
After a few seconds the Hall Bricklet began blinking very hectical - not like hartbeat.
but the other Bricklets not! They continue shining.
The compass Bricklet works fine as before, but the Hall Bricklet Tab shows an "Flash"
button.
After the error I started my Java App, an this Exception was presented:
Exception in thread "main" com.tinkerforge.TimeoutException: Did not receive response in time for function ID -1
at com.tinkerforge.DeviceBase.sendRequest(DeviceBase.java:225)
at com.tinkerforge.DeviceBase.checkValidity(DeviceBase.java:175)
at com.tinkerforge.BrickletCompass.setHeadingCallbackConfiguration(BrickletCompass.java:292)
The Compass ist the first one that I connect.
I tried this a few times again, but unfortunately the problem
did not occur anymore.
IMHO changes the HAT erratic into sleep mode, but why - I don't know.
Hope this helps.
Best Regards
RBBT