LIS3DH I2C ADDRESS AUTO INCREASE FOR FIFO
I believe there is a unclear statement about FIFO address auto inreasement and 8-bit sub address issue;
here is two explanation from the datasheet;
8bit sub address auto inrease : (page 25 6.1.1 I2C operation)
... 7 LSb represent the actual register address while the MSB enables address auto increment. If the MSb of the SUB field is ‘1’, the SUB (register address) is automatically increased to allow multiple data read/writes...
5.1.5 Retrieving data from FIFO (page 23)
...The address to be read is automatically updated by the device and it rolls back to 0x28 when register 0x2D is reached. In order to read all FIFO levels in a multiple byte read, 192 bytes (6 output registers of 32 levels) have to be read....
Can we say if we read start to read by 0x28 it will automatically rollback once it reaches to 0x2d , but i dont see any info what will happen if i will set the 8th bit of the 0X28 address ?
So what will happen and how it will behave if i will start reading 0xA8 (0x28 | 0x80) ? it will just auto increase until 0xFF or it will rollback once it will reach to 0x2d ?
Best regards.
