where does imx6 UART transmit start and stop?

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

where does imx6 UART transmit start and stop?

1,746件の閲覧回数
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!

ラベル(1)
0 件の賞賛
返信
2 返答(返信)

1,740件の閲覧回数
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 件の賞賛
返信

1,726件の閲覧回数
LiLinfei
Contributor I

Hi  igorpadykov

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

       Thank you!

0 件の賞賛
返信