LIN FLEX for MPC5748G

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

LIN FLEX for MPC5748G

ソリューションへジャンプ
1,121件の閲覧回数
elb1
Contributor III

I have a low level driver for LIN that is working for MPC5748g micro-controller, but now we changed to MPC5748g micro-controller, and i am trying to use the same driver (i think there is no difference) but it doesn't work .

For the send function i have this:

    if ((ctx->base->LINSR & LINFlexD_LINSR_DTF_MASK) == 0) 
    { 
         return AGAIN 
    } 

     ctx->base->LINSR |= LINFlexD_LINSR_DTF_MASK;


the problem is that when i call send function the DTF mask is sometimes set sometimes not, so the frame is sent ion some times and in sometimes not

thank you in advance for your help

0 件の賞賛
返信
1 解決策
1,106件の閲覧回数
PetrS
NXP TechSupport
NXP TechSupport

Hi,

can you please recheck wording you have? You wrote you have working MPC5748G LIN driver and change to MPC5748G MCU...

Some example for MPC5748G is given in https://community.nxp.com/t5/MPC5xxx-Knowledge-Base/Example-MPC5748G-LINFlex-LIN-Master-Slave-test-G... so you can refer to it.

BR, Petr

元の投稿で解決策を見る

0 件の賞賛
返信
1 返信
1,107件の閲覧回数
PetrS
NXP TechSupport
NXP TechSupport

Hi,

can you please recheck wording you have? You wrote you have working MPC5748G LIN driver and change to MPC5748G MCU...

Some example for MPC5748G is given in https://community.nxp.com/t5/MPC5xxx-Knowledge-Base/Example-MPC5748G-LINFlex-LIN-Master-Slave-test-G... so you can refer to it.

BR, Petr

0 件の賞賛
返信