2017-08-23 07:50 AM
Hi!,
I'm trying to do bring-up of a board that has the LSM6DSL and other sensors in its sensor hub.
I can read and write to other registers except for
CTRL10_C (19h) and MASTER_CONFIG (1Ah) which I can only read and they are in its default values.
I want to write to above registers to activate he sensor hub functionality.
Both sensors in LSM6DSL are in its default power-down status when I try to write to the mentioned registers.
Could I be missing something else to be able to write to the registers?
Thanks!
Solved! Go to Solution.
2017-08-24 05:05 PM
I think I know now that the mistake is on my side.
I was using binary to write data instead of hex. Let me try again an report back.2017-08-24 01:32 AM
Hello Jose,
The only thing that comes to my mind is to make sure you disabled access to embedded functions registers by resetting FUNC_CFG_EN bit in FUNC_CFG_ACCESS register (addr. 0x01). You can use the LSM6DSL_SensorHub sample application in
package (inside Projects\Multi\Examples\IKS01A2 subdirectory) and of course thehttp://www.st.com/resource/en/application_note/dm00402563.pdf
as your references.I hope it will help.
Petr
2017-08-24 09:54 AM
Hi Petr,
Thanks a lot for your support!
-Jose
2017-08-24 05:05 PM
I think I know now that the mistake is on my side.
I was using binary to write data instead of hex. Let me try again an report back.