S32G-VNP-RDB2 LLCE_LINFlexD LINFlexD

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

S32G-VNP-RDB2 LLCE_LINFlexD LINFlexD

1,187 Views
StanleyShen
Contributor IV

hi

First of all, let's confirm the following questions:

1. Does LLCE_LINFlexD_x in this document refer to LLCE_LIN_x?

ki7691r0.bmp

 2. In this document, LINFlexD_x indicates LINFlexD_0(uart0), LINFlexD_1(uart1), and LINFlexD_2?

xpf2s1kw.bmp

3. Next is their drive

1bje6du8.bmp

Whose driver is this fsl linflexuart.c file?

If it is the driver of LLCE_LINFlexD_x, then the driver mentions DMA sending and receiving data, while LLCE_LINFlexD_x mentions that DMA cannot be used. If not, can you provide the driver of LLCE_LINFlexD_x?

If it is a driver of LINFlexD_x, can this driver be used to implement LIN as a master-slave mode to send data on linux? This seems to be through the uart mode to achieve data sending and receiving.

At present, we mainly want to transfer the data transmission of LIN master-slave mode of M core to A core in linux, but there seems to be a problem in the driver. In addition, we planned to use LINFlexD_x at the beginning, but worried about the conflict between LINFlexD_0 and uart0, so we are considering using it now LLCE_LINFlexD_1 to implement.

Your help would be greatly appreciated.

0 Kudos
Reply
1 Reply

1,107 Views
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hello,

1 and 2 yes, for 3)

it will work as Slave node too, but to follow LIN standard this pullup should be removed. You can just solder out R4 and place header to have this configurable.
Yes, there is no LIN driver in the SDK. You can find simple baremetal code for LIN in S32DS called "linflex_lin".

 yes, the LIN transceiver requires 12 V supply on pin P3.3

or receiving data be sure CANoe is set to respond on given ID and check the RX frame on bus with the scope too.

You can refer to master/slave example on

https://community.nxp.com/t5/MPC5xxx-Knowledge-Base/Example-MPC5748G-LINFlex-LIN-Master-Slave-test-G...

 

Regards

 

0 Kudos
Reply