Hello
I plan to use 2 KL03z to transfer lpuart serial data between each other, one as a Transmitter and another as a Receiver. Since the KL03z has IrDA capability, I want to experiment with transferring serial data using IR LED from the transmitting KL03z to a photodiode on the receiving KL03z.
Currently, I'm using the lpuart_non_blocking example from ksdk 1.3 to debug serial communication from PC. Though it seems the lpuart is set in internal loopback mode. How can I change the mode to test loopback using a jumper from Tx to Rx pin?
For IrDA, I would need to know how to change the SIM_SOPT5 to set the Tx pin output to TPM_Ch0 and Rx pin to receive from CMP0.
But there haven't been many examples of an IrDA code for ksdk 1.3, so I'm still unsure how to change the SIM_SOPT5 and the correct TPM or CMP initialization. Can anybody give a pointer?
I am also curious about the part number of the lpuart module that the KL03z uses. To check which voltage level it considers TTL high or low.
I appreciate any help or guidance. Thank you!