S32K1xx系列MCU时钟配置疑问

cancel
Showing results for 
Search instead for 
Did you mean: 

S32K1xx系列MCU时钟配置疑问

355 Views
gongchangyu
Contributor I

1、如图通过clock组件配置时钟,在S32DS的参考示例代码中不做代码修改,实际跑的是RUN的系统时钟吗?如果想跑HSRUN模式,需要怎么做修改?

关于时钟组件配置这块,有没有相应的PPT或者知道文档可以参考,我这边没有找到,如果有还请提供一下。

企业微信截图_1593756520701.png

搜狗截图20200706115008.png

2、在086的以及2.0版本SDK包中,无警告,3.0以后版本就会报错,我在手册中有找到如下说明,是之前没有检测这一项内容吗?

无警告(086和2.0版本SDK)

pastedImage_3.png

有警告(3.0.2版本SDK)

pastedImage_4.png

企业微信截图_15937575604523.png

3、在RM手册中,分别配置了Normal RUN 80MHz,Normal RUN 64MHz两种模式,这两种配置模式在使用上有什么区别吗?

3511c6e22e10a23f140b1f19e61cc71.png

0b14cf7eb78a9e8e9b21d44aa4e5edf.png

0 Kudos
1 Reply

288 Views
dianabatrlova
NXP TechSupport
NXP TechSupport

Hello,

At first, I would like to ask you to write a question in English for better understanding.

1. To switch between power modes, you can use the power_mode_switch_s32k14x example as a reference located in the S32DS. File -> New -> S32DS Project from Example

If you are not sure which clock source you have selected, please, check CLKOUTCNFG register, FIRC_CLK is selected by default 

pastedImage_1.png

2. We can expect that the newer version of SDK is updated. That is why we recommend using always the newest versions.

3. You can configure clocks in your project according to your needs and restriction in the RM, you do not need to use any of these configurations.

Option 2 and 3 represent a few of the common clock configurations for this chip.

For more details, please, refer to "27.3 Clock definitions" and "27.4 Internal clocking requirements" in the RM rev 12.1

I hope it helps.

Best regards,

Diana

0 Kudos