Hi,
I haven't had this problem so far...
It would probably be good to read the status register as well and react
accordingly to the RDY or LOCK bits...
Don't have time right now to look deeper into this (especially since I
couldn't reproduce the problem).
In the meantime, could you plz test the following:
https://github.com/flixr/paparazzi/commit/8c55a843c2433d8d2ac025edb84e13f7b79cd29b
This will try to reconfigure the hmc if a transaction failed, not sure
if a
failed transaction is the problem though...
Otherwise it probably needs proper debugging with the black magic
probe...
Cheers, Felix
On Tue, Jul 21, 2015 at 12:52 PM, banditniu <address@hidden> wrote:
HI,
Issue: Aspirin v2.2 HMC data freezes after power-on
Description: After powering the IMU board, sometimes HMC58xx compass
output
freezes. I have checked it by using IMU_MAG_RAW on telemetry/raw sensors
display.
When the issue occurs I have also checked the other sensors on the
board,
it
seems IMU_ACCEL_RAW and IMU_GYRO_RAW are updated correctly.
*issue* I'm now on v5.4.The error counter of telemetry for IMU_MAG_RAW
is
not increasing, it performs like this in the MESSAGE :
imu_mag_raw:
<http://lists.paparazziuav.org/file/n17199/WP_20150720_22_17_33_Raw.jpg>
After checking the HMC datasheet, I am suspicious about lock state of
SR1
bit of HMC status register. Datasheet states that "When this bit is set,
the
six data output registers are locked and any new data will not be
placed".
I am still digging and try to solve this problem but I wonder that is
the
issue board specific or has someone face an issue like that?
Regards,
--
View this message in context:
http://lists.paparazziuav.org/Aspirin-v2-2-HMC-data-output-FROZEN-for-IMU-MAG-RAW-tp17199.html
Sent from the paparazzi-devel mailing list archive at Nabble.com.
_______________________________________________
Paparazzi-devel mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/paparazzi-devel