cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with Lin Enable filters

nooshin_1382
Associate II
Posted on August 12, 2015 at 11:01

Hi

I Have 2 problems with Lin :

1.When i Recive a data from LIN I have  No interrupt 

2.When i want to set a filter in LIN the programm not work at this point in the attachment code :

LINFLEX_1

.IFMR.B.IFM=1;

LINFLEX_1.IFER.R=0;  I attach my code .

Best Regards

Nazerian Vanima
This discussion has been locked for participation. If you have a question, please start a new topic in order to ask your question
2 REPLIES 2
Erwan YVIN
ST Employee
Posted on August 17, 2015 at 11:46

Hello Vanima ,

I am checking your code , today

Best regards

               Erwan

Erwan YVIN
ST Employee
Posted on August 17, 2015 at 15:55

Hello Vanima ,

On B Devices : you can not access to these registers on LINFlex_1

LINFLEX_1.IFMR.B.IFM=1;
LINFLEX_1.IFER.R=0;

If you want to use the filter mode,you have to use the LinFlex_0. (cf chapter 2), 16 identifier filters for autonomous message handling in Slave mode. (q.) Only LINFlex0 supports slave mode. Best regards Erwan