Simple UART driver for IMX6Q?

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

Simple UART driver for IMX6Q?

682 Views
byunggukchoi
Contributor II

I've been developing the driver for a new UART device which communicates with IMX6Q Sabre Auto.

Of course there are many UART drivers under ./drivers/tty/serial directory in Yocto project based linux kernel.

I think the drivers contain too many information to understand how the UART driver works.

The system I'm trying to develop is very simple. IMX6Q sends a on/off data to UART device and receives a result data from.

 Can any one provide a simple driver sample code or guide in order to control a UART device?

Thanks in advance.

Labels (3)
1 Reply

504 Views
igorpadykov
NXP Employee
NXP Employee

Hi ByungGuk

for simple uart example one can look at baremetal SDK

Github SDK
swp-report/iMX6_Platform_SDK at master · backenklee/swp-report · GitHub 

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------