Skip to main content
Kefei Yao
Associate III
March 20, 2018
Solved

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

  • March 20, 2018
  • 2 replies
  • 1468 views
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
This topic has been closed for replies.
Best answer by Winfred LU
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

2 replies

Winfred LU
Winfred LUBest answer
ST Employee
March 20, 2018
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

Kefei Yao
Kefei YaoAuthor
Associate III
March 20, 2018
Posted on March 20, 2018 at 09:48

Thank you very much.