Hi,
I am currently in need of using the CMU module and while reading the CMU_FC and CMU_FM sections under the Safety chapter of the S32K3XXRM manual, I discovered the following:
For CMU_FC, it requires configuration as shown in the image.
For CMU_FM, it requires configuration as shown in the image.
However, I couldn't find the corresponding configuration options in the MCAL Configuration Tool in S32DS. There are only options for enabling and configuring interrupts in the MCU configuration section. Could you please guide me on how to change these related register values in the configuration tool?
Solved! Go to Solution.
1. These values are not the configured values on the configuration tool. The driver will calculate these values based on the instructions in RM (chapter Programming guidelines), then these values will be written to registers.
2. Mainly, the way to configure CMU is slightly different than on EBtresos. It should be configured
in Clock tool:
3. I guess you'll have to read the RM and do the configuration directly on the registers.
In RTD product, only CMU_FC is supported by MCU driver. CMU_FM is not supported.
In EBtresos, you can find the configuration on McuClockSettingConfig->McuClkMonitor
In S32DS, you can refer to the topic https://community.nxp.com/t5/S32K1-KEA-Internal-Community/Question-about-S32K118-CMU-with-RTD-operat...
Thank you for your response, but I still have three more questions.
1. In the configuration options you provided, there are still no configuration options for the two registers mentioned in the manual.
2. The hyperlink you provided for the configuration in S32DS cannot be opened.
3. RTD products do not support CMU_FM, so how should we users use it?
1. These values are not the configured values on the configuration tool. The driver will calculate these values based on the instructions in RM (chapter Programming guidelines), then these values will be written to registers.
2. Mainly, the way to configure CMU is slightly different than on EBtresos. It should be configured
in Clock tool:
3. I guess you'll have to read the RM and do the configuration directly on the registers.