SPRUI30H November 2015 – May 2024 DRA745 , DRA746 , DRA750 , DRA756
In MIR mode, data is transferred between the MPUand the peripheral devices at 0.576 or 1.152 Mbps. A MIR transmit frame starts with at least two start flags, followed by a frame data and a CRC-16, and ends with a stop flag (see Figure 24-45).
On transmit, the MIR state-machine attaches start flags, a CRC-16, and stop flags, as in SIR mode. All fields are transmitted least-significant bit (LSB) of each byte first.
In MIR mode:
On receive, the MIR receive state-machine recovers the receive clock, removes the start flags, destuffs the incoming data, and determines the frame boundary with reception of the stop flag. The state-machine also checks for errors such as frame abort, CRC error, and frame-length error. At the end of a frame reception, the MPU reads the line status register (UART3.UART_LSR_IRDA) to detect errors of the received frame.
The module can transmit and receive data, but when the device is transmitting, the IR RX circuitry is automatically disabled by hardware.