Skip to main content
nooshin_1382
Associate III
August 12, 2015
Question

Problem with Lin Enable filters

  • August 12, 2015
  • 2 replies
  • 764 views
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 topic has been closed for replies.

    2 replies

    Erwan YVIN
    ST Technical Moderator
    August 17, 2015
    Posted on August 17, 2015 at 11:46

    Hello Vanima ,

    I am checking your code , today

    Best regards

                   Erwan

    In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question.
    Erwan YVIN
    ST Technical Moderator
    August 17, 2015
    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
    In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question.