2022-04-11 11:38 AM
Hello,
I am trying to set up an FSM on the LSM6DSO, but I have been struggling for several weeks. Upon further investigating the register values, I believe that I might have accidentally written to a memory location that changed something about the FSMs permanently. Before even writing to any registers, the value of FSM_STATUS_A IS 0x24 and the value of FSM_STATUS_B is 0x04. Those registers stay that way, regardless of interrupt status.
Only this feature seems to have been affected, as I can still read/write to the accel and gyro, and embedded functions such as significant motion and tilt also work.
I know people will be curious about what I am currently writing to registers, so here it is. Right now I am trying to configure the sample FSM that generates an interrupt every N samples (FSM Guide pg 53/ 10.1 Toggle)
I would appreciate any help!