Tool/software:
Hi,
When I use the MCAL/Mcu/McuClockSettingConfig clock configuration, encountered the following two questions:
1. There are few optional clock modules in the configuration item McuClockModuleId,as shown in the following figure. However, many peripheral modules of the chip require the use of clocks for configuration, such as MCSPI0/MCSPI1/MCSPI2 I2C0/I2C1/I2C2/I2C3/UART modules, etc. But currently, they cannot be configured with clocks through the Mcu. How should the clocks of these peripherals be configured?
2. How should the clock source in the configuration item McuClockSoureId correspond to the chip peripherals? Now I'll give an example to supplement the explanation:
As shown in the following figure, MCU_I2C0 corresponds to two clock sources: MCU_SYSCLK0/4 and MCU_PLL0_HSDIV1_CLKOUT.
The clock sources that can be selected for the configuration item McuClockSoureId are shown in the following figure. Then, when configuring MCU_I2C0, which clock source should be selected?
I have some other questions about the clock tree:
1. Can the clock of peripherals be closed or opened by Mcu/McuClockSettingConfig?
2. How to switch the internal RC clock and the external high-speed clock, and how to turn on the RTC clock?
3. Is there any corresponding documentation for the clock tree configuration of running AUTOSAR on the AM62x R5F core?