This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

RA2A1: Set HOCO frequency at runtime

I'm writing a bootloader which will be loaded into RAM over SWD. The bootloader needs to set HOCO to at least 32 MHz to generate a 32 MHz FCLK, but it seems this is only possible via the option flash setting FS1.HOCOFRQ1. I don't have control of the previous flash contents, so OFS1 may be set to any value when the bootloader is loaded

Is there any way to adjust HOCO frequency at runtime?