Kw41z separate RX and TX IRQs on FRDM-KW41z board are errored

cancel
Showing results for 
Search instead for 
Did you mean: 

Kw41z separate RX and TX IRQs on FRDM-KW41z board are errored

54 Views
BrainGoDev
Contributor I


NXP COMMUNITY TEAM,

When the FSL_FEATURE_LPUART_HAS_SEPERATE_RX_TX_IRQS is set to true , then  compiler errors occur because LPUART_RX_IRQS AND LPUART_TX_IRQS are undeclared. However, the combined LPUART_RX_TX_IRQS does exist and works, but I need independent RX and TX IRQS for full duplex UART operation.

also the IRQn_Type enum IRQn does not enumerate independent RX and TX IRQS in file MKW41Z4.h.

Please help with any suggestions or updated CMSIS AND DRIVER SDK files.

as a note I have the latest SDK2.2.3 installed with the latest MCUExpresso 11.3.1.

BOARD: FRDM-KW41z

thank you for your help.

 

0 Kudos
1 Reply

39 Views
Ricardo_Zamora
NXP TechSupport
NXP TechSupport

Hi,

 

Hope you are doing well. You should not modify the MKW41Z4_features.h file, as this is the one that specifies the features of the MCU, not a configuration.

The reason there is only one IRQn enumaration is due to the Interrupt Vector Assignments. You can see this in the Reference Manual, that there is only one Interrupt Source for LPUART.

NVIC.png

 

But the KW41 LPUART supports full-duplex, since the transmitter and receiver operate independently. You can take one of the available examples and adapt it to your custom application.

 

Regards,

Ricardo

0 Kudos