cancel
Showing results for 
Search instead for 
Did you mean: 

IPM driver

suicune
Associate

I am trying to find / create a program to run an IPM module that will run an a/c compressor(PMSM). 

Like a MC3PHAC

6 pwm generator.

Never written a program before except change some values to make the led blink faster.

Have a NUCLEO-F401RE

IPM module: PS21245-E

Need help writing/finding program

2 REPLIES 2
NSing.5
Senior

refer to data sheet at link https://www.nxp.com/docs/en/data-sheet/MC3PHAC.pdf , page 21 onwards.

commands explanation is on page 22-23 and flowchart is given on Page 29.

On Nucleo board configure for UART communication using STM32cubeMx. Once configuration is over, in main program send commands as per flowchart on page 29. you have to use commands as per requirement from table 5.

i've one question on what basis you have opted for MC3PHACWP?

plz update status

wishes

NSing.5
Senior

PS21245-E is different from MC3PHACWP, UART communication is missing. you have to generate signals for Up, Vp, Wp and Un, Vn, Wn ( figure 7 ) from Nucleo board as per your timing diagram for three phases. you can configure TIMER for PWM.