Hi ,
I am having an issue setting up the LIN Master.(MPC5746C)
I tried LINFlexD_0 as LIN Master.
It's still not working and don't know what else to try.
It gets stuck at while(0 == (LINFlexD_0->LINSR & LINFlexD_LINSR_DTF_MASK)).
register state:
LINFlexD_0->LINSR: 0x3000
LINFlexD_0->LINESR:0xa000
Other question:
How to pull up SIUL2 :GPIO[114] ?
Hopefully somebody knows whats going on.
Thanks.
All code: the file of Lin_master.c
已解决! 转到解答。
Hi,
Are you using S32DS as the IDE. If yes, can you have a quick look at the LIN example available in the S32DS. I have also attached the c file that comes in the example code. Please confirm if you still face the issue after using the attached file.
Regards,
Ankur