UJA1169 on S32k144 CAN partial networking error

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

UJA1169 on S32k144 CAN partial networking error

跳至解决方案
2,105 次查看
Lincoln
Contributor III

Hi, 

I cannot use CAN wake-up frame as CAN partial networking error (CPNERR).

I already set the parameters below which is required by activating CAN partial networking:

.pncok = SBC_UJA_CAN_PNCOK_EN
.cpnc = SBC_UJA_CAN_CPNC_EN

How can I enable CAN partial networking?

Here is the CAN status of uja1169.

Lincoln_0-1640143291066.png

 

Note: 

I've attached my SBC configuration.

I'm working with s32DS.ARM.2018.R1 and S32SDK_S32K1xx_RTM_3.0.0.

 

 

Thank you for your help!

0 项奖励
1 解答
2,034 次查看
Senlent
NXP TechSupport
NXP TechSupport

Hi@LincoIn

try to add the following code.

Senlent_0-1640592848297.png

 

在原帖中查看解决方案

0 项奖励
6 回复数
2,066 次查看
Senlent
NXP TechSupport
NXP TechSupport

Hi@LincoIn

    I tested the configuration file in your appendix,and I think there is no problem with this configuration.

and this test using S32K142EVB(because S32K148EVB does not use UJA1169).

    When I press the SW3 button, the SBC enters sleep mode. When I send a frame with an ID of 0x1A0, the SBC can be awakened and the received content will be forwarded at the same time.

Only 0x1A0 can wake up SBC,other like 0x1A2 can not wake up SBC.

Senlent_1-1640586078439.png

 

So I guess this is not a configuration problem,please check your hardware or other.

and one more thing to confirm.

Senlent_2-1640586320800.png

only UJA1169TK/F,UJA1169TKX/F,UJA1169TK/F/3 supported CAN partial networking according to the Datasheet.

BR!

     Jim,

 

0 项奖励
2,053 次查看
Lincoln
Contributor III

Hi @Senlent

About your statement previously: this test using S32K142EVB(because does not use UJA1169).

s32k144EVB actually has uja1169TK/F on it in the diagram below which is from schematics for the S32K144EVB REV C1 Evaluation Board doc on NXP website (I have attached it). 

uja1169.png

And also I take the photo (please check it on the attachment) of my S32K144EVB which you can clearly see UJA1169 on it.

Apparently there is no problem with hardware device.

 

How can I enable CAN partial networking?

 

Thank you!

0 项奖励
2,035 次查看
Senlent
NXP TechSupport
NXP TechSupport

Hi@LincoIn

try to add the following code.

Senlent_0-1640592848297.png

 

0 项奖励
2,019 次查看
Lincoln
Contributor III

Hi @Senlent,

Thank you, it works.

0 项奖励
2,008 次查看
Senlent
NXP TechSupport
NXP TechSupport

Hi@LincoIn

Ok,I test it on S32K142EVB,no such porblem,I think I probably know what went wrong.

0 项奖励
2,045 次查看
Senlent
NXP TechSupport
NXP TechSupport

Hi@LincoIn

sorry for the misunserstanding.I suppose to say S32K148EVB.

As I said above,there is no problem with the configuration file,are you using 12V power supply?

Have you checked the project code of your main program?

 

 

 

0 项奖励