Non Autosar Driver Example Code for S32k312

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

Non Autosar Driver Example Code for S32k312

1,100 Views
Dev15
Contributor III

Hello Team,

@Robin_Shen 

I'm trying to find non Autosar driver code (Adc, Pwm, Spi, Can, I2c, Dio) for Sk32k312. Please share if it is available with anyone.

Thank you,

Dev

 

 

0 Kudos
Reply
7 Replies

965 Views
SandyHCL
Contributor I

Hi @Robin_Shen ,

I've tried the above-mentioned point but still the RTD is not generated. Am I still missing something? Can you please help? Thanks.

0 Kudos
Reply

958 Views
Robin_Shen
NXP TechSupport
NXP TechSupport

Please create a new question. Tell us the S32K3x part number\ version of IDE \ version of RTD, so that we can discuss it based on your specific situation.
I don't know which chip you are using. If it is S32K344, please refer to: HOWTO: offline install S32K3 RTD 3.0.0 in S32DS v3.5

0 Kudos
Reply

1,081 Views
Robin_Shen
NXP TechSupport
NXP TechSupport

Hi Dev,

Did you import it through File->New->S32DS Project from Example?
S32DS v3.5 + S32K3 RTD 3.0.x or 4.0.x does not have examples of S32K312EVB-Q172, only examples of S32K344, S32K358, and S32K396.
S32DS v3.4 + S32K3 RTD 2.0.x has examples of S32K312EVB-Q172.
It is recommended that you create a new S32K312 project and refer to the examples of S32K312 RTD 2.0.x or the examples of S32K344 RTD 3.0.x or 4.0.x.

Sorry for the inconvenience we bring you!


Best Regards,
Robin
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

1,079 Views
Dev15
Contributor III

@Robin_Shen , Thank you very much for providing the details

Could you also please share me the details for S32K310 driver code 

 

Thank you,

0 Kudos
Reply

1,068 Views
Robin_Shen
NXP TechSupport
NXP TechSupport

According to the release notes of S32K3 RTD 3.0.x and RTD 4.0.x, I saw that S32K310 is already in Supported Derivatives. Unfortunately, there are currently no examples for S32K310. You need to create new project yourself and refer to examples of other chips.

0 Kudos
Reply

1,060 Views
Dev15
Contributor III

@Robin_Shen 

Thank you for your response.

I've installed following packages in S32 Design Studio v3.4 - SW32K3_S32DS_3.4.0_D2012.zip 

SW32K3_RTD_4.4_2.0.0_DS_updatesite_D2204.zip but I am not able to compile the example code for S32K312 controller. I even tried the S32 configuration tool for generating the code but the RTD is not generated. Mainly I need an non-Autosar based code for S32K312 evaluation board. Is it available?  Can you please give me proper procedure for compiling an non-Autosar based code.

0 Kudos
Reply

995 Views
Robin_Shen
NXP TechSupport
NXP TechSupport

Please offline install S32K3 RTD 2.0.x by refer to the discussion in https://community.nxp.com/t5/S32K/S32K3-Unified-Bootloader-Build-Issue/td-p/1653130

After S32K3 RTD 2.0.x is correct installed. Import examples of S32K312, and then click on the "S32 Configuration Tool->Update Code" button.

0 Kudos
Reply