new problem while access uart2.

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

new problem while access uart2.

1,011 Views
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 Replies

674 Views
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 Kudos

674 Views
Yuri
NXP Employee
NXP Employee

Hello,

  Are RTS / CTS connections correct?

Regards,

Yuri.

0 Kudos

674 Views
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.