new problem while access uart2.

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

new problem while access uart2.

1,033 次查看
sachindhoundiya
Contributor II

Hello Yuri,

I have successfully get access of gpio from user space and also from C Files.

now i have get a new problem while access uart2. Normal receive transmit i have performed successfully.

I want to connected Blue-tooth with uart2 and for that i have to worked uart2 with RTS-CTS  hardware flow control which is not working for me .

Port_setting.c_cflag |= CRTSCTS;        // Enable  RTS-CTS Hardware Flow Control

In code after enable the flow control the RTS pin goes high and no data will transfer from serial.

please help me tho resolve this problem

3 回复数

696 次查看
Yuri
NXP Employee
NXP Employee

Hello,

  You should provide the toolchain to Your target.

install gcc and toolchain on target rfs 

https://community.nxp.com/docs/DOC-103530  

Regards,

Yuri.

0 项奖励

696 次查看
Yuri
NXP Employee
NXP Employee

Hello,

  Are RTS / CTS connections correct?

Regards,

Yuri.

0 项奖励

696 次查看
sachindhoundiya
Contributor II

hello ,

yes the connection are correct and i have solved this problem from

https://community.nxp.com/docs/DOC-97509 

thanks for your prompt response.