How to modify the code program in KDS to make it what I want?

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

How to modify the code program in KDS to make it what I want?

1,153 Views
wangxuan
Contributor III

Hi,

    I want to use the HVP MC3PH and HVP KV46F150M to implement sensorless or Hall sensor control of the BLDC. Now I found the example program HVPKV46F150M_SNSRDVEL_IAR_1_2_0_426(or other) corresponding to my hardware in the KDS. There is also an example program AN4796SW suitable for my control algorithm, which is for KE02_LV_TWR_BLDC_Sensorless.
   My question is: How do I integrate and modify them to achieve my goal?

Best regards!

wang xuan

0 Kudos
1 Reply

1,009 Views
dumitru-daniel_
NXP Employee
NXP Employee

Hi wangxuan,

I'm not sure if this question is related with Model-Based Design Toolbox. 

As far as i can understand you wish to implement the motor control with IAR IDE.

In that case, the most important part you need to pay attention is the peripherals initialization. There is a specialized software called processor expert that might help you to migrate easy from one board to the other. Here is a tutorial how to use it with IAR IDE: Tutorial: IAR + FreeRTOS + Freedom Board | MCU on Eclipse 

Hope this helps!

Daniel

0 Kudos