where does imx6 UART transmit start and stop?

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

where does imx6 UART transmit start and stop?

1,073 Views
LiLinfei
Contributor I

Hi,

I want the PWM to be turned on or off at the end of TX transmission.

I have implemented the acquisition of a PWM device in imx6ull UART driver(imx.c).

But I don't know which function should be configured to start and stop PWM.

I tried to start in imx_start_tx() and stop in imx_stop_tx(), but it didn't work.It will keep PWM if uart was open while close.

Please give me some advice and forgive my poor English.

Thanks a lot!

Labels (1)
0 Kudos
Reply
2 Replies

1,067 Views
igorpadykov
NXP Employee
NXP Employee

Hi Fenix

 

pwm and uart are different modules and drvers, examples can be found in Chapter 47
Pulse-Width Modulator (PWM) Driver, Chapter 45 Universal Asynchronous Receiver/Transmitter (UART) Driver attached Linux Manual.

 

Best regards
igor

0 Kudos
Reply

1,053 Views
LiLinfei
Contributor I

Hi  igorpadykov

       I have solved this problem,but I think I should study English well.

       Thank you!

0 Kudos
Reply