Skip to main content
dominik2
Associate II
October 20, 2015
Question

SPC560B LinFlex_1 slave mode initialization

  • October 20, 2015
  • 2 replies
  • 772 views
Posted on October 20, 2015 at 14:44

Hello all,

I’m trying to initialize the LinFlex LINFLEX_1 module of the SPC560B Bolero.

Unluckily I’m running into problems writing the  LINFLEX_1.LINCR1 register.

Specially I’m unable to write the LINFLEX_1.LINCR1.B.MME bit to zero to enable slave mode despite the fact that the LinFlex state machine is in initialization mode.

Does anybody know if I miss any side constraints or does anybody has some example code to initialize the LinFlex modul in slave mode?

Many thanks in advance and kind regards,

Dominik Skanda

    This topic has been closed for replies.

    2 replies

    Erwan YVIN
    ST Employee
    October 20, 2015
    Posted on October 20, 2015 at 16:53

    Hello Dominik ,

    LINFlex_0 is supporting LIN master and slave mode; LINFlex_1 to LINFlex_9 modules

    supporting LIN master mode.

    you should use LINFLex_0 if you want to use the slave mode.

       Best Regards

                       Erwan

    dominik2
    dominik2Author
    Associate II
    October 20, 2015
    Posted on October 20, 2015 at 17:10

    Hello Erwan,

    thank you. This clarifies a lot.

    Dominik