S32K3 motor control sample source code

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

S32K3 motor control sample source code

Jump to solution
1,627 Views
punekar
Contributor II

Hello,

 

I am trying to obtain the S32K344 motor control kit's (#MCSPTE1AK344) sample code. My question is where the sample code is contained inside the .exe file available for download at the below link (step 2.1) ?

https://www.nxp.com/document/guide/getting-started-with-the-mcspte1ak344-development-kit:GS-MCSPTE1A...

And also where the sample code is editable?

(Due to restricted access on my work machine I am unable to run the exe file immediately and hence asking here for confirmation.)

Thanks.

0 Kudos
Reply
1 Solution
1,511 Views
_Leo_
NXP TechSupport
NXP TechSupport

Hi again,

Regarding your questions:

1. S32DS is free.
2. Both version can be used for production and works equal.
3. Programmers are listed in S32K3 page -> Design Resources -> Hardware -> Emulators, Probes, and Programmers.

Hope it helps you.

Please help me creating new post for new questions. We will be happy to help you. I thank you in advance.

View solution in original post

5 Replies
1,560 Views
punekar
Contributor II

Hello thanks for your reply. I have some follow up questions.

We want to choose among the various options from the S32K3xx series. Ours will be a automotive traction inverter application. 

A. We want to get an idea about the RAM and ROM/FLASH memory usage.

Can you tell us the following -

  1. For the example codes MCSPTE1AK344_PMSM_FOC_2Sh_as_tr and MCSPTE1AK344_PMSM_FOC_2Sh_ll can you tell the RAM and FLASH usage? 
  2. For the typical application (automotive traction inverter), can you please give us a rough idea of how much memory usage (RAM and FLASH) is needed, assuming applications like PMSM motor control, CAN communication, diagnostics, reprogramming via bootloader.

B. Reference document for S32Kxx MCU feature comparison

  1. We are referring the document S32K3MCBROCH.pdf and can see comparison of various part numbers of the S32K3xx family. However I wanted to know if you have a more detailed comparison/suggestion of which part among these is better suited for our application. 
  2. Additionally, we plan to use 3 shunt current sensing for the PMSM motor control. Some part numbers are mentioned as having 3 ADCs while some have 2. In the 3 ADC MCUs I wanted to know if it is possible to connect external analog signal to the channels of these 3 ADCs and sample all 3 ADCs at the same time instant?

 

0 Kudos
Reply
1,514 Views
_Leo_
NXP TechSupport
NXP TechSupport

Hi again,

Regarding your questions:

A1.

_Leo__0-1744321851313.png

_Leo__1-1744321857758.png


A2. Our motor control examples shows how to implement FOC or 6-step commutation control. We do not provide automotive traction inverter software. Sorry for the inconvenience.

B1. Please refer to Table 1. S32K3xx chip's feature comparison of datasheet. For traction, please refer to S32K39-37-36.

B2. If MCU has 2 ADC instances, it can perform 2 ADC samples at same time. If has 3 instances, then 3 ADC samples at same time.

0 Kudos
Reply
1,609 Views
_Leo_
NXP TechSupport
NXP TechSupport

Hi,

Thank you so much for your interest in our products and for using our community.

It is correct, MCSPTE1AK344_SW.exe file include all the provided project examples and documentation:

_Leo__0-1743797787165.png_Leo__1-1743797794466.png

Additionally, I recommend you to consult the MCSPTE1AK344_ReleaseNotes.txt file before install IDE, Drivers and Tools in order to match specific versions:

_Leo__2-1743797816243.png

And yes! Project examples are editable, just AMMCLib is provided in two versions (both of them works with the provided examples):

_Leo__5-1743797935414.png

Hope it helps you. 

Have a nice day!

1,542 Views
punekar
Contributor II

sorry for more questions, but could you please tell me below so that it will help us will planning the budget.

 

1. Please confirm if the IDE S32DS is freeware or do we need to purchase it? If yes, can you please tell us the cost of the same.

2. The AMMCLIB has 2 versions, but if we do not want to buy the source code version, can the "object code version" be used in production? Does it work the same way as the source code version?

3. Please tell me which debugger device can be used with the S32K3xx? Can you please share its link?

0 Kudos
Reply
1,512 Views
_Leo_
NXP TechSupport
NXP TechSupport

Hi again,

Regarding your questions:

1. S32DS is free.
2. Both version can be used for production and works equal.
3. Programmers are listed in S32K3 page -> Design Resources -> Hardware -> Emulators, Probes, and Programmers.

Hope it helps you.

Please help me creating new post for new questions. We will be happy to help you. I thank you in advance.