Regarding cautions of HOCO

Correction method when HOCO is used with the RX113 group.
In order to operate the high-speed on-chip oscillator (HOCO), please set the high-speed on-chip oscillator control register (HOCOCR) after setting the high-speed on-chip oscillator wait control register (HOCOWTCR).

 

Workaround:

  1. Correct the source file as below.
    • Source file: r_cgc.c
    • Function: static void R_CGC_Create_HOCO(void)
  2. Move the "Before correction" blue text code to the "After correction" red text location.

 

Before correction

Before correction HOCO

After correction

After correction HOCO