How to write CMU driver? Is there sample code?

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

How to write CMU driver? Is there sample code?

2,633 次查看
xiaohuang
Contributor I

Can CMU be configured in S32? How to write CMU driver? Is there sample code?

0 项奖励
回复
8 回复数

2,612 次查看
xiaohuang
Contributor I

 

I am using the S32K118 ,Then I don't know how to configure the CMU, how to verify that the configuration is correct.

0 项奖励
回复

2,615 次查看
Senlent
NXP TechSupport
NXP TechSupport

Hi@xiaohuang

  Can you tell me which device are you using? 

  CMU is available in only S32K11x series of devices. Other products in the S32K14x series do not have CMU.

BR!

    Jim,

0 项奖励
回复

1,609 次查看
Ritchiehsu
Contributor I

Dear NXP team

My customer is VW, now RFQ status.

I see NXP Community, please give me the CMU sample code to me, Thx.

 

Now my 32DS setting have some problem for CMU, I don't know where problem,

please give me total 32DS setting for CMU sample code, thank you.

 

 

0 项奖励
回复

2,601 次查看
Senlent
NXP TechSupport
NXP TechSupport

Hi@xiaohuang

       I have sent you a routine in private,this demo just for your refenence.

 

0 项奖励
回复

2,597 次查看
xiaohuang
Contributor I

Ok, i got it, thanks you so much .I have another question, how do i test the CMU?

0 项奖励
回复

2,594 次查看
Senlent
NXP TechSupport
NXP TechSupport

Hi@xiaohuang

        Try to manipulate the thresholds in HTCR and LTCR registers,then generate a Loss of Clock reset when monitoring the FIRC.

BR!

    Jim,

0 项奖励
回复

2,518 次查看
xiaohuang
Contributor I

Thank you for the example you provided last time. How is the CMU1 threshold calculation formula derived? No related formula found on the document

0 项奖励
回复

2,605 次查看
xiaohuang
Contributor I

I am using the S32K118 ,Then I don't know how to configure the CMU, how to verify that the configuration is correct.

0 项奖励
回复