How to use UART2 and FlexIO UART at the same time?

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

How to use UART2 and FlexIO UART at the same time?

957件の閲覧回数
YeelongWong
Contributor III

Hello, everyone

Kinetis KL17's UART2 and FlexIO UART share the same one interrupt and IRQ: UART2_FLEXIO_IRQHandler.

Is it possible for one project to use these two part at the same time?

For UART 2, UART2_FLEXIO_IRQHandler means UART_TransferHandleIRQ

For Flex IO, UART2_FLEXIO_IRQHandler means UART2_FLEXIO_DriverIRQHandler() and FLEXIO_CommonIRQHandler

I think they conflict at this point.

How to fix this issue, please?

Tks so much!!!

 

ラベル(1)
0 件の賞賛
返信
1 返信

945件の閲覧回数
bobpaddock
Senior Contributor III

Examine the status register of each module to see which one is active then go that route.

Clearly whom ever designed this chip had no concept of writing software for it.
Such as "Separation of Concerns"...


The combined PORTC and PORTD IRQ are a similar mess. 


 

 

 

0 件の賞賛
返信