How many UARTs can be emulated using FlexIO in S32K144?

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

How many UARTs can be emulated using FlexIO in S32K144?

1,388件の閲覧回数
prasanna_rawke
Contributor II

S32K144 has a option to configure 8 pins as FlexIO data pins. On the other hand, it has 4 shifters and 4 timers as per the datasheet.

And one FlexIO UART TX requires, one shifter and one timer for the operation.

--------------------------------------------------------------------------------------------------------------------

Does it mean that we can emulate only two duplex UARTs (Rx+Tx) using FlexIO?

Is there any way to implement 4 UARTs using FlexIO? For example, in my application, I can keep the baudrate of all UARTs same, which can reduce the number of timers required.

Regards,

Prasanna

ラベル(1)
タグ(3)
0 件の賞賛
返信
2 返答(返信)

1,313件の閲覧回数
dianabatrlova
NXP TechSupport
NXP TechSupport

Hello Prasanna,

As you write, the FlexIO has available 4 Timers, 4 Shifters, 8 Pins

For one UART (TX + RX) 2 shifters and 2 timers are needed.
So, we can configure max 2x UART by FlexIO.

There is a possibility to have several shifters clocked by the same timer but still, we have only 4 shifters.

However, the S32K144 has 3x LPUART, you could use it.

I hope it helps.

Best regards,

Diana

0 件の賞賛
返信

1,313件の閲覧回数
prasanna_rawke
Contributor II

Hello Diana,

Thanks for the clarification.

Actually in my application, all the LPUARTs are already consumed by other modules, and I was going by the impression that 8 FlexIO data pins will cater 4 additional UARTs.

Thanks,

Prasanna

0 件の賞賛
返信