I am working on LIN configuration for s32k344 in S32DS. I have took the example Lin_Ip_FrameTransfer_S32K344 from S32K3 RTD AUTOSAR 4.4 2.0.0 D2203 Example projects for S32K344 in S32DS 3.4. The code is building fine with 0 errors but ain't getting the output in Saleae Logic Analyzer. I haven't done any changes to the configurational settings in s32ds, just updated the code and flashed it into the S32k344 using PEMicro Debugger. Also cahnges from 257 to 172 package. What changes are to be made to get the data frame in the Logic analyzer. I'll attach the configuration in Logic analyzer too. Hoping a reply and thanks in advance.
Regards,
Vinith Ramarapu.
S32K344-WB S32K3X4EVB-T172 #lin-protocol
Solved! Go to Solution.
Hi,
this is a simple application which shows a communication between a Lin Master and a Lin Slave of both Lpuart Ip and Flexio Ip. As example does communication between LIN Master/Slave on the board, you should connect J23.7 to J23.8 and place either J20 or J24 jumper. Then 2 LIN frames should be visible on this LIN bus connection after example running. This is what you should get
Note in example just 2 frames are sent and then main function is leaved. You can try to add some endless while so frame will be sent still.
BR, Petr
Hi,
this is a simple application which shows a communication between a Lin Master and a Lin Slave of both Lpuart Ip and Flexio Ip. As example does communication between LIN Master/Slave on the board, you should connect J23.7 to J23.8 and place either J20 or J24 jumper. Then 2 LIN frames should be visible on this LIN bus connection after example running. This is what you should get
Note in example just 2 frames are sent and then main function is leaved. You can try to add some endless while so frame will be sent still.
BR, Petr
Hi,
this connect master pull-up resistor/reverse diode. LIN uses an open-drain line, so it needs to be pulled up to get a valid high-level voltage.
BR, Petr