Utilising KMS execute-only code on KV46F

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

Utilising KMS execute-only code on KV46F

893 Views
vijayvaidya
Contributor I

Hello,

We have a custom MKV46F256VLH16 based board developed on the basis of HVP-KV46F150M schematic.

We are using MCUExpresso environment for development purposes.

We understand from the datasheet that all the chips, by deafult, are equipped with Kinetis
Motor Suite, execute-only flash.

The documents for KMS 1.1.0 like API guide etc. are already available on the NXP site.

We want to utilise this already resident s/w in our programs.

We were not able to locate any document explaining as to, how to do this.

We guess, there has to be a library file similar to "libKmsKV3xF_KDS_LE.a" that is present
in KMS KV31 based reference projects, May be named, "libKmsKV4xF_MCU_LE.a"

Can you provide us the pointers as to how to achieve this.

Thanks and Best Regards,

Vijay Vaidya

Labels (1)
0 Kudos
5 Replies

646 Views
vijayvaidya
Contributor I

Hello Rong,

Thanks for your inputs.

But does this mean that the code present on KV4x parts as per the datasheet

          "KV4XP100M168 Data Sheet: Technical Data Rev. 3, 06/2016",
           Section 3.10 page-47/63

is Not Available for the user.

Thanks and Best Regards,

Vijay Vaidya

0 Kudos

646 Views
philip_drake
NXP Employee
NXP Employee

Let me step in here:

The KMS software will be available for KV4x devices sometime in the next month.

We are preparing the Data sheet you are refering to with a new Table that list the KMS orderable part numbers.  The Data sheet had been updated in preparation for this release. 

If you at a point where you have already developed a custom board based on the KV4 in anticipation of the support for KMS we can work with you to get this support.

Currently there are no production samples of the KVx with the KMS library programmed into the MCU flash. 

However, a limited number of parts(1-5) could be programmed and provided to you in the interim. the version of KMS would also need to be upgraded as the current release 1.1.0 does not support the KV4x.

Please have your NXP Sales and Field Applications Engineering support team know you require this help and I will engage with them to support you.

Best Regards,

Philip

0 Kudos

646 Views
philip_drake
NXP Employee
NXP Employee

While we work out the details of getting samples and tools to you, how else can I assist you with your design?

Question about your design/application:

  1. You say you based your design on the HVP-KV46F256.   Did you maintain a way to debug and communicate with opto-isolation on board or do you have a way to do the isolation off-board?
  2. Did you also include in the power stage the power factor correction hardware?
  3. Will you be needing to do PFC on your application?
  4. Is the application sensorless velocity, sensored position?
  5. is the motor a PMSM or ACIM motor? Although the DS and RM don't mention this the release of KMS 1.2.0 will offer KMS for the ACIM motor types.
  6. Do you have a schematic you can send to the NXP FAE for our review?

Best Regards,

Philip

0 Kudos

646 Views
vijayvaidya
Contributor I

Hello Philip,

I thought, it was getting too specific and hence decided to write to you

directly and not thro' forum.

Pl find the answers below.

Question about your design/application:

1. You say you based your design on the HVP-KV46F256. Did you maintain

a way to debug and communicate with opto-isolation on board or do you have

a way to do the isolation off-board?

I have collected the required signals on a 10-pin header and will have

the isolation off-board. This way, i have saved on the production PCB area.

Also, i intend to to use Freedom FRDM-KV31 board for

programming/debugging.

So the setup will be, 1. The custom MKV46F board, 2. a small isolation

board and 3. Freedom FRDM-KV31 board.

I had asked on the forum, sometime back about this possibility,

https://community.nxp.com/thread/461635,

and received a favorable reply from Mr. Shen

I hope, you don't see any problem here.

2. Did you also include in the power stage the power factor

correction hardware?

No PFC stage is envisaged at this point.

3. Will you be needing to do PFC on your application?

Not right now.

4. Is the application sensorless velocity, sensored position?

Sensorless Velocity to start with, but the hardware has the provision

for Sensored Position.

5. is the motor a PMSM or ACIM motor? Although the DS and RM don't

mention this the release of KMS 1.2.0 will offer KMS for the ACIM motor

types.

Its PMSM

6. Do you have a schematic you can send to the NXP FAE for our review?

I am afraid, at this stage, i can't.

0 Kudos

646 Views
xiangjun_rong
NXP TechSupport
NXP TechSupport

Hi, Vijay,

Unfortunately, at the time being, only part of KV31 with the suffix "P" can support KMS, because the KMS firmware is saved in flash in factory. None of KV4x supports KMS tools, because none of KV4x is written with KMS software. we have not plan to release KMS library so that user can use it.

This is KMS community, you can post your question here in future.

https://community.nxp.com/community/kinetis/kms 

BR

Xiangjun Rong

0 Kudos