RT1021 LPUART IR mode.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

RT1021 LPUART IR mode.

613 Views
GiovaniDias67
Contributor I

I am using the IMX RT1021 microcontroller.
I'm trying to configure the LPUART interface to read IR codes.
I saw that there are no examples available and I noticed that the SDK doesn't seem to be supported.
I found a post on the Forum similar to my need:

https://community.nxp.com/t5/i-MX-RT/Support-IrDA-in-SDK-API-for-RT1011-RT1015-MCUs/m-p/1045409

However it appears that the post did not conclude with a solution.

I'm in need of assistance.

Best regards.

0 Kudos
Reply
3 Replies

561 Views
Pavel_Hernandez
NXP TechSupport
NXP TechSupport

Hello, my name is Pavel, and I will be supporting your case, I suggest downloading the example mentioned on the thread.

Emulating IRDA with the FlexIO on RT1010 (nxp.com)

You can find the project on this link i.MX RT1010 | Crossover MCU with ARM Cortex-M7 up to 500 MHz | NXP Semiconductors in the section of the documentation.

Pavel_Hernandez_0-1712607848936.png

Best regards,
Pavel

0 Kudos
Reply

530 Views
GiovaniDias67
Contributor I

Many thanks for the reply.

I've already seen this example using FlexIO.
However, I want to do it through the LPUART interface, as I mentioned previously.

Could you tell me if it is possible and how should I proceed?

0 Kudos
Reply

528 Views
Pavel_Hernandez
NXP TechSupport
NXP TechSupport

Hello, sorry I´m not familiar with IRDA but I reviewed the note app is using the FlexIO_UART, and maybe will is not difficult to migrate to the LPUART, I suggest reviewing how is the example works in bare metal I mean need to debug the example and review what is the example doing on the register on the TX and RX and replayed. 

Best regards,
Pavel

0 Kudos
Reply