How to setup FIFO for LIS2HH12?
I am using LIS2HH12 with Atmel ATSAM4E8C and am able to read registers and write to registers.
When I read FIFO_SRC register (0x2F) I get Bit EMPTY=1 and in STATUS register (0x27) ZYXDA is constantly 0. I am following the example from https://github.com/STMicroelectronics/STMems_Standard_C_drivers/blob/master/lis2hh12_STdC/example/read_data_simple.c and has tried to enable FIFO in CTRL3 register (0x22) and FIFO_CTRL register (0x2E), but still no data in FIFO.
Is there any setup steps I am missing?
