Regarding MTRCKTSBNZVM128 board

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

Regarding MTRCKTSBNZVM128 board

1,014 Views
pratibhasurabhi
Contributor V

Hello,I am using MTRCKTSBNZVM128 evaluation board.I have to generate PWM interrupt configuring the PMF.I tried it but interrupt is not generating.Could you please suggest me how to do this?

Labels (1)
2 Replies

806 Views
RadekS
NXP Employee
NXP Employee

Hi Pratibha,

The PMF block may generate 5 types of interrupt (PMF Reload A, PMF Reload B, PMF Reload C, PMF Fault, PMF Reload Overrun).

For example, the PMF Reload A interrupt may be enabled by PMFENCA_PWMRIEA = 1; command with enabled I-bit maskable interrupts (EnableInterrupts;).

The PMF Reload A ISR may be defined for example as:

Interrupt VectorNumber_Vpmfra void PMF_Reload_A_ISR(void)

{

PMFFQCA |= PMFFQCA_PWMRFA_MASK; //clear PWMRFA flag

//your code

}

 

Please look at our application note AN5190 S12ZVM Derivatives Configuring PMF Module for your inspiration.

http://www.nxp.com/files/microcontrollers/doc/app_note/AN5190.pdf

http://www.nxp.com/files/microcontrollers/doc/app_note/AN5190SW.zip

I hope it helps you.

Have a great day,
Radek

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

806 Views
jgerhardy
Contributor III

Hello Radek,

thanks for the link to the software. I found the AN5190 but searching for AN5190SW give no results until, so I was happy to find this post. It helped me a lot.

Thanks again.

John

0 Kudos