Synchronous USART using FlexIO

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

Synchronous USART using FlexIO

ソリューションへジャンプ
1,360件の閲覧回数
antoinezen
Contributor III

For some reason i need a clock signal along with the traditional UART signal. That clock must be in phase with the UART signal.

For example, it is possible to archive this  on LPC micro-controller with the following  configuration:

config.syncMode = kUSART_SyncModeMaster;

that sets the SYNCEN bit in the CFG register of the USART. 

Sadly the LPUART peripheral of the i.MX-RT does not have this feature. My idea was to use the FlexIO periferal some how between the UART configuration and SPI configuration. With the FlexIO outputting data signal with START and STOP bit on one pin along with the shifter clock on a second pin.

Do you think this is feasible ? If someone has an option or experience on this, it can save me hours of work. 

Thanks in advance!

/Antoine

#flexio uart‌ 

#flexio spi

#imxrt1050

#imxrt

#uart mode

0 件の賞賛
返信
1 解決策
1,260件の閲覧回数
jeremyzhou
NXP Employee
NXP Employee

Hi Antoine Zen-Ruffinen,

Thank you for your interest in NXP Semiconductor products and the opportunity to serve you.
1) Do you think this is feasible?
-- Yes, the FlexIO is capable of simulating the Synchronous mode of UART. There're some FlexIO demo projects in the SDK library, maybe you can refer to them.

Have a great day,
TIC

 

-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

 

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

元の投稿で解決策を見る

1 返信
1,261件の閲覧回数
jeremyzhou
NXP Employee
NXP Employee

Hi Antoine Zen-Ruffinen,

Thank you for your interest in NXP Semiconductor products and the opportunity to serve you.
1) Do you think this is feasible?
-- Yes, the FlexIO is capable of simulating the Synchronous mode of UART. There're some FlexIO demo projects in the SDK library, maybe you can refer to them.

Have a great day,
TIC

 

-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

 

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------