Figure 3-32 shows the software warm reset sequence of the IPU2 subsystem.
For doing the software reset of IPU2, the MPU software must ensure that IPU CPUs (IPU2_C0 and IPU2_C1) are in IDLE state and clock is gated
The software warm reset sequence is:
- When IPU2_C1 is in IDLE state, IPU2_C0 software or MPU software sets the RM_IPU2_RSTCTRL[1] RST_CPU1 bit. The PRCM module asserts the IPU2_CPU1_RST reset signal to IPU2_C1.
- When IPU2_C0 is in IDLE state, the MPU software sets the RM_IPU2_RSTCTRL[2] RST_IPU and RM_IPU2_RSTCTRL[0] RST_CPU0 bits.
- The PRCM module asserts the IPU2_RST, IPU2_RET_RST, and IPU2_CPU0_RST reset signals. The IPU2_PWRON_RST remains deasserted in this case.
- The MPU software reenables the IPU2_GFCLK and the initialization sequence starts inside the IPU subsystem. Software clears the RM_IPU2_RSTCTRL[2] RST_IPU bit and RM_IPU2_RSTCTRL[0] RST_CPU0 bit in the PRCM module register.
- When the reset sequence of Step 4 completes and the reset manager counter (PRM_RSTTIME[14:10] RSTTIME2) expires, the PRCM module releases the IPU2_RST, IPU2_RET_RST, and IPU2_CPU0_RST reset signals. IPU2_C0 starts rebooting.
- Software can then clear the RM_IPU2_RSTCTRL[1] RST_CPU1 bit in the PRCM module register. The PRCM module releases the IPU2_CPU1_RST reset signal to IPU2_C1 to start booting.