Not able to access FTM2 and FTM3 Module

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

Not able to access FTM2 and FTM3 Module

333 Views
parth_rastogi10
Contributor III

Hi NXP,

As I am trying to access the FTM2 module of Kinetis KE1xF and trying to update the  Status And Control (FTM2_SC) Register. 

But as I write to this register, by creating the object for FTM2 I am getting a Hard Fault. Similar it is with the FTM3 module also.

Please provide me any inputs on the above issue and refer to the below snips:

parth_rastogi10_0-1619430816629.png

parth_rastogi10_1-1619430826200.png

Regards,

 

 

Parth Rastogi
Labels (1)
0 Kudos
1 Reply

326 Views
mjbcswitzerland
Specialist V

Hi

Have you enabled the FTM2 (or FTM3) clock gate in SIM_SCGC3?

Regards

Mark
[uTasker project developer for Kinetis and i.MX RT]
Contact me by personal message or on the uTasker web site to discuss professional training, solutions to problems or rapid product development requirements

For professionals searching for faster, problem-free Kinetis and i.MX RT 10xx developments the uTasker project holds the key: https://www.utasker.com/kinetis/FRDM-KE15Z.html

0 Kudos