Problem with Lin Enable filters
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2015-08-12 2:01 AM
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 discussion is locked. Please start a new topic to ask your question.
2 REPLIES 2
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2015-08-17 2:46 AM
Posted on August 17, 2015 at 11:46
Hello Vanima ,
I am checking your code , today Best regards ErwanOptions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2015-08-17 6:55 AM
Posted on August 17, 2015 at 15:55
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
