2015-10-20 05:44 AM
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
2015-10-20 07:53 AM
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 Erwan2015-10-20 08:10 AM
Hello Erwan,
thank you. This clarifies a lot. Dominik