Hello,
Question 1:
When I test the LIN Demo (Lin_MasterFrameTransfer_S32K344) provided by RTD, I can only use the ID: 0x1A in the Demo to send. It is not possible to switch to other IDs, such as 0x4, 0x1C, etc. Debug results show that it is in Lin_ Ip_ ProcessParity () was judged as an exception.
I can't find the relevant configuration item in the mex configuration tool. Which configuration item do I need to change.
Question 2:
Using Lin Master Mode
I am in the RTD static code Lin_ Ipw_ In Callback(), it is found that no response is received in the Master Mode. For example, if I want to use the Lin Master to send a message ID and ask the slave to send the response data, what should I do if the master needs to receive the response data sent by Slave through interrupt callback?
Is it because the logic code of Lin part has not been improved by RTD, or other reasons?
I'm in Lin_ Ipw_ The following logic has been added to Callback(). Is it allowed?
We look forward to your reply.
thank you.
Solved! Go to Solution.
Hi @Du_0224 ,
As per Autosar Specification of LIN module, the LinIf_RxIndication only use for Slave nodes:
Hello
Sorry, I have found the reason for question 1.
I confused the relationship between LIN ID and PID.
Now there is only question 2.
Question 2:
What is your current SW package that you 're referring the code?
Hello,
* Autosar Version : 4.4.0
* Autosar Revision : ASR_REL_4_4_REV_0000
* Autosar Conf.Variant :
* SW Version : 2.0.1
* Build Version : S32K3_RTD_2_0_1_D2207_ASR_REL_4_4_REV_0000_20220707
Hi @Du_0224 ,
As per Autosar Specification of LIN module, the LinIf_RxIndication only use for Slave nodes:
Hi,
Yes, I checked AUTOSAR_ SWS_ LINDriver documentation.
Lin master receiving of AutoSar specification needs to use Lin_ GetStatus interface.
So I can't use interrupt callback.
Thank you for your answer.