summaryrefslogtreecommitdiff
path: root/examples/imx7_colibri_m4/driver_examples/uart_imx/uart_polling/main.c
AgeCommit message (Collapse)Author
2019-02-06Fix UART examples for Colibri iMX7colibri-imx7-m4-freertos-v8Andy Kiser
The uart_polling and uart_interrupt examples were originally written for a UART used in DCE mode. The Colibri iMX7 is designed to use the UART in DTE mode. The signals are swapped between DTE and DCE (Rx <-> Tx, and control signals). In order to use the correct pin direction, the bit DCEDTE in the UARTx_UFCR register needs to be configured accordingly. Signed-off-by: Andy Kiser <andy.kiser@gmx.ch>
2016-05-09resync with FreeRTOS_BSP_1.0.1_iMX7DStefan Agner