MPC5746C LIN Master error

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

MPC5746C LIN Master error

ソリューションへジャンプ
2,037件の閲覧回数
hongchuan_li
Contributor I

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

0 件の賞賛
返信
1 解決策
1,959件の閲覧回数
ankur_kala
NXP Employee
NXP Employee

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

元の投稿で解決策を見る

3 返答(返信)
1,960件の閲覧回数
ankur_kala
NXP Employee
NXP Employee

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

1,959件の閲覧回数
hongchuan_li
Contributor I

Thank you for your answer,because of coding error,this issue  has occurred. Now I have modify my code and the issue  was solved. Thank you very much one more time。

0 件の賞賛
返信
1,959件の閲覧回数
ankur_kala
NXP Employee
NXP Employee

Thanks for confirming. 

Regards,

Ankur

0 件の賞賛
返信