Skip to main content
suicune
Visitor II
July 13, 2022
Question

IPM driver

  • July 13, 2022
  • 2 replies
  • 956 views

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

This topic has been closed for replies.

2 replies

NSing.5
Associate III
July 14, 2022

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
Associate III
July 14, 2022

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.