cancel
Showing results for 
Search instead for 
Did you mean: 

SPC560B LinFlex_1 slave mode initialization

dominik2
Associate II
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 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 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
Associate II
Posted on October 20, 2015 at 17:10

Hello Erwan,

thank you. This clarifies a lot.

Dominik