cancel
Showing results for 
Search instead for 
Did you mean: 

[LIS2DUXS12] MLC filter & results in FIFO

tomny
Associate II

Hi,

I can't find a way to select in MEMS Studio which MLC filters are passed FIFO and how to enalbe MLC result in FIFO.

Configuration created by MEMS studio enabled MLC_FILTER_FEATURE_FIFO_EN in EMB_FUNC_FIFO_EN so I see selected MLC features in FIFO but nothing more - no filters, no results.

I manually enabled MLC_FIFO_EN but MLC results didn't appear in FIFO.

I tried to enable filters manually in mlc.json by adding "fifo": "true" to filters in json file, but it didn't help.

 

 

I've attached MLC files.

 

Best regards

Tomasz

 

1 ACCEPTED SOLUTION

Accepted Solutions

Hi @tomny ,

The MLC results go into FIFO only when the class changes.
For filters, you are enabling the global bit for filters and features, but then at the configuration level generated by the tool, each individual filter must be enabled.
To do this, you must enter -MLC_enable_filters_in_FIFO in the custom options of “Config generation” by clicking on the “...” button.

In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.

View solution in original post

4 REPLIES 4
Federica Bossi
ST Employee

Hi @tomny ,

The filter results go into FIFO only when there are class changes. You probably didn't have any class changes in your tests.

FedericaBossi_0-1769435551423.png

 

In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.

It's true about MLC results (selected class) - I would need to check it again if I had it changing.

 

But that about MLC filters? They should be present each windows like features. I don't know how to enable them.

tomny_0-1769436080906.png

 

Best regards

Tomasz

 

 

Hi @tomny ,

The MLC results go into FIFO only when the class changes.
For filters, you are enabling the global bit for filters and features, but then at the configuration level generated by the tool, each individual filter must be enabled.
To do this, you must enter -MLC_enable_filters_in_FIFO in the custom options of “Config generation” by clicking on the “...” button.

In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.
tomny
Associate II

Hi,

 

Passing MLC_enable_filters_in_FIFO in config generation helped! Thanks 

I didn't check if MLC results are there, because in current project I don't use DT - that explains no results in my case. 

 

Best regards

Tomasz