S32k148 AUTOSAR RTD PortPin Pcr

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

S32k148 AUTOSAR RTD PortPin Pcr

2,083 Views
gediz
Contributor I

Hello, I've followed the following walkthrough about blinking LED in Autosar RTD using the s32k144 q100 board, however my own board is s32k148 q176 and my port for swc clock and jtag is 169 instead of 96.

PortPin Pcr part only allows me to input values between 0-155. Give me the error shown in the image.

https://community.nxp.com/t5/S32-Design-Studio-Knowledge-Base/HOWTO-Create-a-Blinking-LED-example-pr...

0 Kudos
Reply
1 Reply

2,068 Views
VaneB
NXP TechSupport
NXP TechSupport

Hi @gediz 

As you are using the S32K148 EVB, some changes are required. 

At the HOWTO: Create a Blinking LED example project using S32K1xx RTD with AUTOSAR is configured the PTD0 (Blue LED) of the S32K144 EVB, but in the board, you are using this LED is connected to PTE23. This means that at step 16, Dio Port Id should be 4, and Dio Channel Id 23. And at step 17.a PortPin Pcr should be 151.

Please refer to Port_Example_S32K148.

With these changes, the project will work correctly. 

 

B.R.

VaneB

0 Kudos
Reply