Renesas RH850 / P1x-C: UMI Error, R_FAD_ERR_CLOCK The CPU clock frequency is incorrect

17-Sep-2024

The CPU clock is determined by the PLL0 parameters in OPBT1. The factory default value is 0xBFFFC938, which cannot be used for Flash programming using UMI. 


Possible solution

The Option byte OPBT1 PLL and Clock divider settings must be changed following RH850/P1x-C User's Manual device specifications. For example, the P1H-C factory default is 0xBFFFC938, however, a better setting is 0xBFFFC9D8.

A similar limitation exists on P1L-C where the OPBT1 factory default value is 0xBFFFC939. A valid value is for example 0xBFFFC938.


P1x-C devices start at full speed from a PLL that's defined by OPBT1. Follow the User's Manual closely. An incorrect setting can make the device inoperable.


Was this answer helpful?