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

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

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

956 次查看
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 回复

944 次查看
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 项奖励
回复