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.
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
Dear Petrel,
There's another problem here:How can i receive frames of any length in either master mode or slave mode.
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?