ADC MCR Register access issue - S32K324

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

ADC MCR Register access issue - S32K324

296 Views
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 Kudos
1 Reply

278 Views
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 Kudos