2019-12-18 04:10 AM
Hello,
I am using LIN4 as slave , but I am not able to activate the identifier filter . Actually other than lin driver 0(LD0) , lin identifier filter is not getting activated.
ldp->linflexlp->IFER.R = (uint16_t) (ifer | (((uint32_t)1U << 1))); /* Enable #Filter */
Program is getting stuck in above statement in lin_lld.c->spc5_linflex_set_filter function.
as per the reference manual,
To configure an identifier filter the filter must first be activated by programming IFER[FACT] = 1.
but where exactly we have to make the configuration for activating the filter.
Solved! Go to Solution.
2020-01-28 08:22 AM
Hello rpoon ,
Sorry for my late answer.
your program is stuck in spc5_linflex_set_filter.
Is it a crash or a data abort,
Could you check your LR and R14 in assembler mode ?
Best Regards
Erwan
2020-01-23 08:39 PM
@Erwan YVIN
can you please help me out with above thread.
Thank you
2020-01-28 08:22 AM
Hello rpoon ,
Sorry for my late answer.
your program is stuck in spc5_linflex_set_filter.
Is it a crash or a data abort,
Could you check your LR and R14 in assembler mode ?
Best Regards
Erwan
2020-01-28 09:53 PM
Hello Erwan,
I am configuring LIN driver 4 as slave LIN driver 5 as master .
I am facing this issue for all LIN channel except LIN driver 0.
Thank You
2020-01-30 09:45 PM
2020-02-19 02:05 AM
Hello @Erwan YVIN
would you have any information on this thread?