UART inverter K27/28

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

UART inverter K27/28

1,254 Views
javierhernande1
Contributor IV

Hello,

K27/28 has DTE/DCE interfaces like as iMX family? 

or is there any other way to invert a UART connection without the need to add an external circuit?

Is not this a problem with FLEXIO?

I need to invert the UART connection to Futaba S.BUS and FrSky Smartport.

Best regards

Labels (1)
3 Replies

1,070 Views
mjbcswitzerland
Specialist V

Hi Javier

The KL27/KL28 UARTs/LPUARTs don't have the ability to switch between DTE/DCE internally but if you can connect UART_TXx and UART_RXx (and others needed) together from 2 mux pins you can switch between the two (set the valid direction pin to its UART function and the other as GPIO input).

Regards

Mark


uTasker developer and supporter (+5'000 hours experience on +60 Kinetis derivatives in +80 product developments)
Kinetis: http://www.utasker.com/kinetis.html

1,070 Views
javierhernande1
Contributor IV

Hi Mark,

Thank you for the reply,

I have not understood it very well, so I am going to implement the external circuits for S.Bus and Smartport, just in case I can not do it via software.

With FlexIO is not easier.

By the way, uTasker supports FlexIO?

sKy27_Pinout_top.png

Normally when an inverter is not added, the inverted signal is used from the receiver. But you have to be modifying the receiver. As explained here.

Regards,

Javier

EDITED: I have done these circuits to S.Bus and Smartport

SBUS.png

SPORT.png

0 Kudos

1,070 Views
mjbcswitzerland
Specialist V

Hi Javier

I do not yet have FlexIO integrated into the uTasker project but I expect to be adding FlexIO UARTs shortly.

It is however also possible to use NXP FlexIO code together with the project.

Regards

Mark