cancel
Showing results for 
Search instead for 
Did you mean: 

[lis3dx] What should the FSS[4:0] be valued when the fifo is full

Kefei Yao
Associate III
Posted on March 20, 2018 at 07:43

FSS[4:0] contains the unread samples stored in the FIFO. So when the EMPTY is 1, the FSS[4:0] is 0. But when the OVRN_FIFO is 1, the FSS[4:0] should be 32 but it can't. So when 

FSS[4:0] is 31 we should check the OVRN_FIFO flag to judge the real unread sample number. Is that correct?

0690X0000060AAPQA2.png
1 ACCEPTED SOLUTION

Accepted Solutions
Winfred LU
ST Employee
Posted on March 20, 2018 at 09:39

Hi Kefei,

Correct. Reference the below table:

  • OVRN=0, FSS=11111  --> Unread FIFO samples = 31
  • OVRN=1, FSS=11111  -->

     Unread FIFO samples = 32

     

Best Regards,

Winfred

View solution in original post

2 REPLIES 2
Winfred LU
ST Employee
Posted on March 20, 2018 at 09:39

Hi Kefei,

Correct. Reference the below table:

  • OVRN=0, FSS=11111  --> Unread FIFO samples = 31
  • OVRN=1, FSS=11111  -->

     Unread FIFO samples = 32

     

Best Regards,

Winfred

Posted on March 20, 2018 at 09:48

Thank you very much.