Hi Jeferson IP Fidelis,
As you know, the uart protocol is 1start bit+8bits data+1bit stop bit.
If your IR protocol is the same as the uart protocol, you can use the uart module to receive, but if it is not the same, you can't use the UART module directly.
From the wave which you give me, I find actually to the several bytes IR transfer, you just have one bit start and one bit stop bit to all the bytes, but to the uart protocol, it need to add the start and stop bit in each byte, so you can't use the UART module directly to receive this IR protocol.
About the picture's wave, you should use the code to design the function which can identify the IR protocol by yourself.
About the sample code, we just have the IR code which used the UART module, here I give you link for your reference:
https://community.freescale.com/docs/DOC-101130
https://community.freescale.com/docs/DOC-103784
Wish it helps you!
Have a great day,
Jingjing
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------