Uart

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

Uart

1,086 Views
netra
Contributor IV

Can anyone provide me sample code to use  cts and rts in internal uart of mcf52259Cag80 controller??

Thanks in advance

1 Reply

873 Views
Martin_
NXP Employee
NXP Employee

The UART module can use RTS and CTS automatically. You just enable the functionality. Example for this is given in MQX:

_bsp_serial_io_init() function in gpio_init.c to enable pin functions.

_mcf52xx_uart_serial_polled_ioctl(), case IO_IOCTL_SERIAL_SET_FLAGS, to enable transmitter CTS checking and receiver RTS assertion/deassertion.