PINS_DRV_READPins function

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

PINS_DRV_READPins function

Jump to solution
1,802 Views
mr_jeffs
Contributor II

Hello,

I am new to nxp S32K144 microcontroller. I cannot read the pin status with  "PINS_DRV_ReadPins(PTA);" .Can someone please tell me what can i do

Labels (1)
0 Kudos
1 Solution
1,729 Views
JRoberto
NXP TechSupport
NXP TechSupport

Let's try to install the installation window.

 

Please go to Real-Time Drivers (RTD) | NXP Semiconductors and follow the next steps.

 

1.- Click on S32k3 standard software

JRoberto_10-1666894995971.png

 

 

2.- Click on Real-Time Drivers for Cortex-M

 

JRoberto_11-1666894995977.png

 

 

3.- Select the version 2.0.1 (note that you need to click on the name and not in the download log)

 

JRoberto_12-1666894995978.png

 

 

 

4.- Read and agree with the terms (if you don't agree you can't use the provided software)

 

JRoberto_13-1666894995980.png

 

 

5.- Download the zip file

 

JRoberto_14-1666894995981.png

 

 

6.- Once it is downloaded, open the S32DS for S32 platform and open the installation window by clicking on the install new software menu

 

JRoberto_15-1666894995982.png

 

 

8.- Click on Add

 

JRoberto_16-1666894995982.png

 

 

 

9.- Click on Archive

 

JRoberto_17-1666894995983.png

 

 

10.- Select the file we just downloaded and click on Add.

 

JRoberto_18-1666894995983.png

 

 

11.- Click on the checkbox to select all the packages and click next

 

JRoberto_19-1666894995984.png

 

 

From there. you need to accept the licensing and wait the process to finish.

 

I hope this information helps.

View solution in original post

8 Replies
1,794 Views
JRoberto
NXP TechSupport
NXP TechSupport

Hello @mr_jeffs 

You should not have any trouble reading the values. 

Please review the example attached

 

Best Regards! 

1,781 Views
mr_jeffs
Contributor II

Hallo JRoberto,

Thank you for your help. PINS_DRV_READPins function is actually working when i tried in different project.

But I got this error while building the Project that you gave. Can you pls tell me how can i resolve this. Thank you.

"../SDK/platform/devices/S32K144/startup/system_S32K144.c:44:28: fatal error: system_S32K144.h: No such file or directory".

compilation terminated.
make: *** [SDK/platform/devices/S32K144/startup/subdir.mk:20: SDK/platform/devices/S32K144/startup/system_S32K144.o] Error 1
make: *** Waiting for unfinished jobs....

0 Kudos
1,776 Views
JRoberto
NXP TechSupport
NXP TechSupport

@mr_jeffs 

It looks like you don't have installed the RTD. Could you share the installation details with me?

 

Best Regards!

0 Kudos
1,769 Views
mr_jeffs
Contributor II

attached are the list of installed softwares

0 Kudos
1,750 Views
JRoberto
NXP TechSupport
NXP TechSupport

@mr_jeffs 

I believe you don't have installed the correct RTD version to work with this example.

JRoberto_1-1666635568066.png

 

Please download the RTD version  4.0.2 from: Automotive S32 SDK for Arm® devices | NXP Semiconductors

JRoberto_2-1666635585984.png

Best Regards!

0 Kudos
1,737 Views
mr_jeffs
Contributor II

Hallo @JRoberto 

As you said, The installed RTD was of old version, but the new version 4.0.2/4.0.3 are not available in S32DS update list and even if we dowload it separately, it can not be added to the S32 Design Studio.

0 Kudos
1,730 Views
JRoberto
NXP TechSupport
NXP TechSupport

Let's try to install the installation window.

 

Please go to Real-Time Drivers (RTD) | NXP Semiconductors and follow the next steps.

 

1.- Click on S32k3 standard software

JRoberto_10-1666894995971.png

 

 

2.- Click on Real-Time Drivers for Cortex-M

 

JRoberto_11-1666894995977.png

 

 

3.- Select the version 2.0.1 (note that you need to click on the name and not in the download log)

 

JRoberto_12-1666894995978.png

 

 

 

4.- Read and agree with the terms (if you don't agree you can't use the provided software)

 

JRoberto_13-1666894995980.png

 

 

5.- Download the zip file

 

JRoberto_14-1666894995981.png

 

 

6.- Once it is downloaded, open the S32DS for S32 platform and open the installation window by clicking on the install new software menu

 

JRoberto_15-1666894995982.png

 

 

8.- Click on Add

 

JRoberto_16-1666894995982.png

 

 

 

9.- Click on Archive

 

JRoberto_17-1666894995983.png

 

 

10.- Select the file we just downloaded and click on Add.

 

JRoberto_18-1666894995983.png

 

 

11.- Click on the checkbox to select all the packages and click next

 

JRoberto_19-1666894995984.png

 

 

From there. you need to accept the licensing and wait the process to finish.

 

I hope this information helps.

1,721 Views
mr_jeffs
Contributor II
Thank you for your help
0 Kudos