2015-08-12 02:01 AM
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 Vanima2015-08-17 02:46 AM
Hello Vanima ,
I am checking your code , today Best regards Erwan2015-08-17 06:55 AM
Hello Vanima ,
On B Devices : you can not access to these registers on LINFlex_1LINFLEX_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