I am working with connect core 6 UL environment from Digi. Specificaiton of the same are:
NXP i.MX6UL-2, ARM® Cortex®-A7 @ 528 MHz, 128 KB L2 cache, with NEON™ MPE (Media Processor Engine) co-processor and programmable smart DMA (SDMA) controller
i want to invert the uart output including start and stop bit. is there in built option to configure it in connect core 6 ul i.MX 6UltraLite Applications Processors to invert UART output?
Thanks LeonidM, I will ask this question on NXP general Forum too.
Actually, The i.MX6UL UART does have a bit to invert the TX signal at UARTx_UCR3 (bit1 is INV).
It’s not a common setting amongst UARTs so Linux doesn’t offer API to have it set.
You should hack the driver drivers/tty/serial/imx.c to set this flag.
UARTx_UCR3 is written in several places. I would suggest you set the flag in the place where they write UCR3 at function imx_startup().