Hi,
I am using i.MX 8M based SOM for my development and build the working image for it using Yocto. Now I want to use general purpose UART & I2C to communicate with external device using a C program written in userspace.
Can you please help me with this?
Thanks and Regards,
Ashok
已解决! 转到解答。
 
					
				
		
 igorpadykov
		
			igorpadykov
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		Hi Ashok
such userspace program(C language based program) can be written using
standard Linux APIs as described in suggested documentation.
 Best regards
igor
 
					
				
		
 igorpadykov
		
			igorpadykov
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		Hi Ashok
please look at linux documentation (Porting Guide, Linux Manual
with description of drivers) on link
i.MX Software and Development Tools | NXP
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi igorpadykov,
The Linux documentation that you have referred are related to kernel and low-level driver configuration.
But I am expecting some way to communicate with peripherals connected through UART or I2C interface using a userspace program(C language based program).
Thanks in Advance!
Regards,
Ashok
