I see a few references to IRDA/infrared in the KL03 datasheet, but I haven't found any detailed information. Could anyone confirm if this part has hardware support for IRDA en/decoding and, if so, point me to available resources?
Thanks!
Solved! Go to Solution.
Hi, Johann,
i think that the KL03 supports Irda from hardware perspective. As you know that the uart transmitter signal has to be modulated by 38KHz clock signal for the irda protocol, for Kl03, you can use TPM1 channel0 to generate the 38kHz modulated signal, use LPUART0 module to generate the uart signal, the SIM_SOPT5[LPUART0RXS
RC] determines whether the LPUART0_TX pin outputs uart siganl or modulated signal by TPM1 channel0. For the Irda receiver, you have to design an external analog filter to filter the 38KHz moduleted signal and connected the filtered signal to CMP0 input pin, you can set the SIM_SOPT5[LPUART0RXSRC] so that the CMP0 output is connected to lpuart0 input pin.
Hope it can help you
BR
Xiangjun Rong
Perfect, thank you!
Hi, Johann,
i think that the KL03 supports Irda from hardware perspective. As you know that the uart transmitter signal has to be modulated by 38KHz clock signal for the irda protocol, for Kl03, you can use TPM1 channel0 to generate the 38kHz modulated signal, use LPUART0 module to generate the uart signal, the SIM_SOPT5[LPUART0RXS
RC] determines whether the LPUART0_TX pin outputs uart siganl or modulated signal by TPM1 channel0. For the Irda receiver, you have to design an external analog filter to filter the 38KHz moduleted signal and connected the filtered signal to CMP0 input pin, you can set the SIM_SOPT5[LPUART0RXSRC] so that the CMP0 output is connected to lpuart0 input pin.
Hope it can help you
BR
Xiangjun Rong