AnsweredAssumed Answered

MPC5746C  LIN Master error

Question asked by 李 洪川 on May 31, 2019
Latest reply on Jun 19, 2019 by Ankur Kala

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->LINESR0xa000

 

Other question:

How to pull up SIUL2 :GPIO[114] ?

 

Hopefully somebody knows whats going on.

Thanks.

 

All code:  the file of Lin_master.c

Attachments

Outcomes