Hi ,
I am having an issue setting up the LIN Master.(MPC5746C)
I tried LINFlexD_0 as LIN Master.
It's still not working and don't know what else to try.
It gets stuck at while(0 == (LINFlexD_0->LINSR & LINFlexD_LINSR_DTF_MASK)).
register state:
LINFlexD_0->LINSR: 0x3000
LINFlexD_0->LINESR:0xa000
Other question:
How to pull up SIUL2 :GPIO[114] ?
Hopefully somebody knows whats going on.
Thanks.
All code: the file of Lin_master.c
Solved! Go to Solution.
 ankur_kala
		
			ankur_kala
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		Hi,
Are you using S32DS as the IDE. If yes, can you have a quick look at the LIN example available in the S32DS. I have also attached the c file that comes in the example code. Please confirm if you still face the issue after using the attached file.
Regards,
Ankur
 ankur_kala
		
			ankur_kala
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		Thank you for your answer,because of coding error,this issue has occurred. Now I have modify my code and the issue was solved. Thank you very much one more time。
 ankur_kala
		
			ankur_kala
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		Thanks for confirming.
Regards,
Ankur
