S32k344 design studio driver example code

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

S32k344 design studio driver example code

90 Views
rathi_tg
Contributor III

Hi Team 

 

I wanted to run basic example codes on S32k344. 

I have installed 

S32 Design Studio for S32 Platform

Version: 3.6.0

Build id: 241128

 

I am unable to find any diver examples in . I even with S32k extension and update to update s32k3xx package but the installation fails every time. It is stuck at 70%.

 

Please let me know if you require any other information and help with basic examples.

 

Regards

Gopal

 

 

 

Tags (2)
0 Kudos
Reply
4 Replies

1 View
rathi_tg
Contributor III

Hi @Valval 

The issue got resolved i did not install the debug package  .

 

Regards 

Gopal

 

 

 

0 Kudos
Reply

54 Views
VaneB
NXP TechSupport
NXP TechSupport

Hi @rathi_tg 

To get started, we recommend using the latest version of the tools available, which is currently S32 Design Studio 3.6.10. There is no need to install it as a separate instance, as it can be installed as an update to your existing installation. Detailed instructions for this process can be found in the S32 Design Studio 3.6.10 RFP Installation Guide, which is available on the same download page as the S32DS installer.

Regarding examples for S32K3 devices, these are included as part of the RTD packages. A good reference is the video How To Download, Install and Configure the RTD 5.0.0 with S32 Design Studio 3.6.0, which explains in detail what components need to be downloaded, how to install them, and how to create a project based on example. Although the video was created for RTD 5.0.0, the procedure is similar for newer RTD releases.

Note: The latest RTD release available for S32K3 devices is RTD 7.0.1.

Additionally, you may find useful examples and application projects in NXP's Application Code Hub, which contains a variety of ready-to-use examples for different devices and use cases.

 

BR, VaneB

0 Kudos
Reply

40 Views
rathi_tg
Contributor III

Hi  

 

I have successfully imported the driver files and i have imported "Siul2_Dio_Ip_Example_S32K344" project.

i have run the mex and updated the code. the code is built without any error.

 

I have S32k344-WB with me which when powered on has a default switch and led program. 

When I flash my built file the progress bar shows 100% but  i am unable to see any changes in the board behavior it is still executing the old code. 

 

Regards 

Gopal 

0 Kudos
Reply

33 Views
VaneB
NXP TechSupport
NXP TechSupport

Hi @rathi_tg 

How did you determine that the application is running old code?

Also, please note that the example projects are tested with specific boards, which are listed in the description.txt file included with each example.

Because different boards can have different hardware configurations, please verify that the pin assignments and configurations match your target board. You may need to update some of the pin settings accordingly to ensure the example works correctly on your hardware.

0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-2402106%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ES32k344%20design%20studio%20driver%20example%20code%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2402106%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%20Team%26nbsp%3B%3C%2FP%3E%3CBR%20%2F%3E%3CP%3EI%20wanted%20to%20run%20basic%20example%20codes%20on%20S32k344.%26nbsp%3B%3C%2FP%3E%3CP%3EI%20have%20installed%26nbsp%3B%3C%2FP%3E%3CDIV%3E%3CDIV%3E%3CP%3ES32%20Design%20Studio%20for%20S32%20Platform%3C%2FP%3E%3CP%3EVersion%3A%203.6.0%3C%2FP%3E%3CP%3EBuild%20id%3A%20241128%3C%2FP%3E%3CBR%20%2F%3E%3CP%3EI%20am%20unable%20to%20find%20any%20diver%20examples%20in%20.%20I%20even%20with%20S32k%20extension%20and%20update%20to%20update%20s32k3xx%20package%20but%20the%20installation%20fails%20every%20time.%20It%20is%20stuck%20at%2070%25.%3C%2FP%3E%3CBR%20%2F%3E%3CP%3EPlease%20let%20me%20know%20if%20you%20require%20any%20other%20information%20and%20help%20with%20basic%20examples.%3C%2FP%3E%3CBR%20%2F%3E%3CP%3ERegards%3C%2FP%3E%3CP%3EGopal%3C%2FP%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2402276%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20S32k344%20design%20studio%20driver%20example%20code%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2402276%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F65563%22%20target%3D%22_blank%22%3E%40rathi_tg%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ETo%20get%20started%2C%20we%20recommend%20using%20the%20latest%20version%20of%20the%20tools%20available%2C%20which%20is%20currently%20S32%20Design%20Studio%203.6.10.%20There%20is%20no%20need%20to%20install%20it%20as%20a%20separate%20instance%2C%20as%20it%20can%20be%20installed%20as%20an%20update%20to%20your%20existing%20installation.%20Detailed%20instructions%20for%20this%20process%20can%20be%20found%20in%20the%20S32%20Design%20Studio%203.6.10%20RFP%20Installation%20Guide%2C%20which%20is%20available%20on%20the%20same%20download%20page%20as%20the%20S32DS%20installer.%3C%2FP%3E%0A%3CP%3ERegarding%20examples%20for%20S32K3%20devices%2C%20these%20are%20included%20as%20part%20of%20the%20RTD%20packages.%20A%20good%20reference%20is%20the%20video%20%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2FS32-Design-Studio-Knowledge-Base%2FHow-To-Download-Install-and-Configure-the-RTD-5-0-0-with-S32%2Fta-p%2F2015104%22%20target%3D%22_blank%22%3EHow%20To%20Download%2C%20Install%20and%20Configure%20the%20RTD%205.0.0%20with%20S32%20Design%20Studio%203.6.0%3C%2FA%3E%2C%20which%20explains%20in%20detail%20what%20components%20need%20to%20be%20downloaded%2C%20how%20to%20install%20them%2C%20and%20how%20to%20create%20a%20project%20based%20on%20example.%20Although%20the%20video%20was%20created%20for%20RTD%205.0.0%2C%20the%20procedure%20is%20similar%20for%20newer%20RTD%20releases.%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3ENote%3A%3C%2FSTRONG%3E%20The%20latest%20RTD%20release%20available%20for%20S32K3%20devices%20is%20RTD%207.0.1.%3C%2FP%3E%0A%3CP%3EAdditionally%2C%20you%20may%20find%20useful%20examples%20and%20application%20projects%20in%20NXP's%20%3CA%20href%3D%22https%3A%2F%2Fmcuxpresso.nxp.com%2Fappcodehub%3FdeviceFamily%3Ds32k%26amp%3Btoolchain%3Ds32_design_studio_ide%26amp%3Bsearch%3DS32K3%26amp%3B_gl%3D1*1nzglqa*_ga*MzQ5MzUxOTcuMTc4NTk0Mzg1NA..*_ga_WM5LE0KMSH*czE3ODU5NjM0MDUkbzMkZzEkdDE3ODU5NjY2MjYkajQ1JGwwJGgxMzI4MDY5MTA.%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3EApplication%20Code%20Hub%3C%2FA%3E%2C%20which%20contains%20a%20variety%20of%20ready-to-use%20examples%20for%20different%20devices%20and%20use%20cases.%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3EBR%2C%20VaneB%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2402708%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20S32k344%20design%20studio%20driver%20example%20code%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2402708%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%26nbsp%3B%26nbsp%3B%3C%2FP%3E%3CBR%20%2F%3E%3CP%3EI%20have%20successfully%20imported%20the%20driver%20files%20and%20i%20have%20imported%20%22Siul2_Dio_Ip_Example_S32K344%22%20project.%3C%2FP%3E%3CP%3Ei%20have%20run%20the%20mex%20and%20updated%20the%20code.%20the%20code%20is%20built%20without%20any%20error.%3C%2FP%3E%3CBR%20%2F%3E%3CP%3EI%20have%20S32k344-WB%20with%20me%20which%20when%20powered%20on%20has%20a%20default%20switch%20and%20led%20program.%26nbsp%3B%3C%2FP%3E%3CP%3EWhen%20I%20flash%20my%20built%20file%20the%20progress%20bar%20shows%20100%25%20but%26nbsp%3B%20i%20am%20unable%20to%20see%20any%20changes%20in%20the%20board%20behavior%20it%20is%20still%20executing%20the%20old%20code.%26nbsp%3B%3C%2FP%3E%3CBR%20%2F%3E%3CP%3ERegards%26nbsp%3B%3C%2FP%3E%3CP%3EGopal%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2402964%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20S32k344%20design%20studio%20driver%20example%20code%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2402964%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F65563%22%20target%3D%22_blank%22%3E%40rathi_tg%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EHow%20did%20you%20determine%20that%20the%20application%20is%20running%20old%20code%3F%3C%2FP%3E%0A%3CP%3EAlso%2C%20please%20note%20that%20the%20example%20projects%20are%20tested%20with%20specific%20boards%2C%20which%20are%20listed%20in%20the%20description.txt%20file%20included%20with%20each%20example.%3C%2FP%3E%0A%3CP%3EBecause%20different%20boards%20can%20have%20different%20hardware%20configurations%2C%20please%20verify%20that%20the%20pin%20assignments%20and%20configurations%20match%20your%20target%20board.%20You%20may%20need%20to%20update%20some%20of%20the%20pin%20settings%20accordingly%20to%20ensure%20the%20example%20works%20correctly%20on%20your%20hardware.%3C%2FP%3E%3C%2FLINGO-BODY%3E