Where have the BLDC demo using hall?

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

Where have the BLDC demo using hall?

1,575 Views
limike
Contributor I

I will use the kinetis KV3 or KV4 mcu for the DUAL BLDC (used with HALL sensors)controller project.

But ,i can not find the demo project.

Who can offer this?

Thanks 

Mike.

0 Kudos
4 Replies

1,159 Views
xiangjun_rong
NXP TechSupport
NXP TechSupport

Hi, Mike,

If you want to control TWO BLDC motor with hall sensor using one processor, you have to select the processor which has enough resource to control two BLDC.

requirements:

two independent PWM module with 6 PWM channels for each PWM module

Each BLDC moptor output 3 Hall signal, there are 6 hall signal totally.

Tow PIT so that you can generate fixed period interrupt for speed control.

two ADC module to test DC voltage or shunt current.

The Kv3x has FTM0/FTM3 with 8 channels each, FTM1/FTM2 with 2 channels each. Because FTM1/FTM2 are used to connect hall signals, the hall signals needs 6 FTM channels, but FTM1/FTM2 can only give 4 channels.

The KV4x has one PWMA, FTM0 with 8 channels, FTM3 with 8 channels, FTM1 with two channels. You can use PWMA and FTM0 to generate PWM signal to control two BLDC, use FTM1 and FTM3 to connect to 6 hall signals, it is oklay.

KV5x is okay to control two BLDC.

Regarding BLDC control example with hall based on Kinetis family, I suggest you download an4776 and an4776SW.zip(BLDC example code with hall).

http://cache.nxp.com/docs/en/application-note/AN4776.pdf?fsrch=1&sr=8&pageNum=1

Hope it can help you

BR

Xiangjun rong

1,159 Views
limike
Contributor I

Thank you for your reply.

I will use KV4x chip to do this.

Which IDE isThe 4776SW.zip code used?

Can I use IAR or Keil IDE open this project code ?

0 Kudos

1,159 Views
xiangjun_rong
NXP TechSupport
NXP TechSupport

Hi,

CodeWarrior for mcu ver10.x IDE is used for 4776SW.zip

BR

Xiangjun Rong

0 Kudos

1,159 Views
xiangjun_rong
NXP TechSupport
NXP TechSupport

Hi,

The an4776SW uses CodeWarrior for mcu ver10.x tools, you can download an evaluation version of CW for mcu from the link:

http://www.nxp.com/products/developer-resources/software-development-tools/codewarrior-development-t... 

Hope it can help you

BR

Xiangjun Ron g

0 Kudos