renesas / fsp

Flexible Software Package (FSP) for Renesas RA MCU Family
https://renesas.github.io/fsp/
Other
182 stars 82 forks source link

RA8 default clock configuration provides incorrect PLL input frequency #346

Closed renesas-austin-hansen closed 4 months ago

renesas-austin-hansen commented 4 months ago

Issue

The default clock configuration provides PLL input clock frequencies (after division) that are out-of-range. The allowable range is 6-12 MHz.

Workaround

Adjust the PLL input divisor such that the resulting frequency is between 6-12 MHz.

Examples:

xianghui-renesas commented 4 months ago

Hi @renesas-austin-hansen , It seems when migrating to FSP v5.2.0 and when working with the EKs, the following updates are needed. Could you confirm?

renesas-austin-hansen commented 4 months ago

Hi @xianghui-renesas, this is not a matter of FSP versions but rather hardware specification. All projects should ensure the PLL input frequency post-division is 6-12 MHz. The clock settings are not updated when changing FSP versions so the user will either need to click Restore Defaults or manually update the settings.

That said, for EK projects using the default settings, changing to /2 x96 is enough and matches the new default.