MPC5744P Linflex data length set

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

MPC5744P Linflex data length set

748 Views
doriahuang
Contributor I

I use MPC5744P LINFLEX port in master mode,about the length setting of Lin in MPC5744P. According to the register configuration data in the data manual, the length is DFL=Number of data bytes -1, which cannot be configured to 0. Now I want to configure this length to 0 in practice, how should I set it?

I  want to only send frame header,example ID 0X0F,no need date frame.lin.png

lin2.png

0 Kudos
3 Replies

657 Views
PetrS
NXP TechSupport
NXP TechSupport

Hi,

what is a use case in fact?
You can set DIR=0 in BIDR so LINFlex as master will send a header only and wait for response from slave. You can then set a LINCR2[DDRQ] bit to discard a response and return to idle state.

BR,Petr

0 Kudos

657 Views
1692470640
Contributor I

Dear Petrel,

         There's another problem here:How can i receive frames of any length in either master mode or slave mode.

0 Kudos

657 Views
1692470640
Contributor I

Dear Petr,

         How can i send frame data in master mode? In other words,if i only send frame header, when i receive the DTF interrupt,can i send fram data only?

0 Kudos