ADC MCR Register access issue - S32K324

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

ADC MCR Register access issue - S32K324

653 次查看
Sruthi
Contributor I

Hi,

I'm working with S32K324 controller. During ADC initialization read/write to ADC MCR register restricted. While executing that line code will go to infinite loop. in SFR registers it is mentioned as can't access. I'm new to this controller. If anyone has any idea, please help. Screenshot attached. MicrosoftTeams-image (2).png

0 项奖励
回复
1 回复

635 次查看
Robin_Shen
NXP TechSupport
NXP TechSupport

Hi Sruthi,

When I try to debug the Adc_Sar_Bctu_Ip_example, it will not go to infinite loop when run Adc_Sar_Ip_Init. Did you enable the clock gate of ADC?

Clocks Tool.png

PRTN0_COFB1_CLKEN[REQ40].png


Best Regards,
Robin
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

0 项奖励
回复