S32k148 AUTOSAR RTD PortPin Pcr

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

S32k148 AUTOSAR RTD PortPin Pcr

2,046 次查看
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 项奖励
回复
1 回复

2,031 次查看
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 项奖励
回复