- Thu May 25, 2017 10:27 am
#194975
I am using the [LIS331HH][/https://www.sparkfun.com/datasheets/Sen ... S331HH.pdf] and the FRDM-K22F board.
I can write to the power register and turn on the LIS331HH, I can also write to the interrupt control register (23h) and read out the value I've written.
For some reason though I cannot read from the INT1_CFG (30) register, INT1_SOURCE(31) register or any of the other interrupt related registers.
It seems though that I can write a value to them.
The STATUS_REG (0x27) also always returns 0.
I wondered if anyone has come accross this issue with this device?
I'm not sure if I should post code here, but I need to, please let me know.
I can write to the power register and turn on the LIS331HH, I can also write to the interrupt control register (23h) and read out the value I've written.
For some reason though I cannot read from the INT1_CFG (30) register, INT1_SOURCE(31) register or any of the other interrupt related registers.
It seems though that I can write a value to them.
The STATUS_REG (0x27) also always returns 0.
I wondered if anyone has come accross this issue with this device?
I'm not sure if I should post code here, but I need to, please let me know.