UJA1169 on S32k144 CAN partial networking error

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

UJA1169 on S32k144 CAN partial networking error

Jump to solution
2,055 Views
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 Kudos
1 Solution
1,984 Views
Senlent
NXP TechSupport
NXP TechSupport

Hi@LincoIn

try to add the following code.

Senlent_0-1640592848297.png

 

View solution in original post

0 Kudos
6 Replies
2,016 Views
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 Kudos
2,003 Views
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 Kudos
1,985 Views
Senlent
NXP TechSupport
NXP TechSupport

Hi@LincoIn

try to add the following code.

Senlent_0-1640592848297.png

 

0 Kudos
1,969 Views
Lincoln
Contributor III

Hi @Senlent,

Thank you, it works.

0 Kudos
1,958 Views
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 Kudos
1,995 Views
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 Kudos