CAN RX READ FAIL UPON S32K EVK WITH SDK

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

CAN RX READ FAIL UPON S32K EVK WITH SDK

1,688 Views
alighieri
Contributor III

We're Working On Our Custom Board With S32K116 And Also On Evaluation Board With SDK 2.9.0 For Our Emergent Case Expected New Vehicle Model PVT 1 On 8TH November 2018. Unfortunately Here Is A Big Problem With CAN.

First:

CAN Low Always Can Not Receive Normal CAN Bystream.

So We Use Oscilloscope To Catch Signal And Find The Waveform Is Abnormal As Triangle Wave.

Second:

We Ask Distributor's FAE To Compare EVK By Hands With Our Own

The Problem Remain The Same In Following Cases:

Case 1

We Use PC Tool Like CANoe And Peak System's Peak CAN Explorer To Send CAN Message

EVK 14X Is Great And Has No Problem To Receive Incoming Message

Case 2

We Use Arduino To Send CAN Message To 116 EVK

Problem Remain The Same

Physical Layer Signal Is Not Normal As Standard Form.

Case 3

We Ask Distributor Use 14X EVK To Send CAN Message To 116 EVK

Strangely 116 Is Going Well In Receiving Incoming CAN Bystream.

Case 4

We Use 2 116 EVK To Send / Receive CAN Message To Each Others

The Problem Remain The Same The Signal Is Ungood As Standard And Waveform Is Wrong.

Please We Need Your Kindly Great Helps To Resolve The Problem.

Our Production Evaluation Date Is Counting Down But Until Now We Don't Get Any Useful Helps To The Problem.

0 Kudos
Reply
5 Replies

1,379 Views
alexandrunan
NXP Employee
NXP Employee

Hello,

Do you use an external transceiver for the CAN Bus ?

In case of yes did you check if is correctly powered and the signals from output \ input are correctly on the bus ?

Do you have bus resistor adaptation ?!

0 Kudos
Reply

1,379 Views
alighieri
Contributor III

Alexandru

What Do You Mean By External Transceiver For The CAN BUS? You Mean Our Custom Board? 144 EVK? Peak CAN? We've Tried Everything To Test S32K116 EVK Hardware Even Asked FAE To Bring A 14X EVK For Required Experiments To Identify Problems From Hardware And Software. In The End We Used Another 2 New S32K116 Then S32K118 In A Connection To Send / Receive CAN Message. I Believe We Have Find Right Way To Prove That Is SDK Problem. For Power Yes We Did Have Checked The Power And Signal From Output / Input. We Understand To Implement CAN Need To Have Independent Power By Set Up In The Metioned S32K116 EVK. After A Test And Measurement CAN L Remain The Same Issue And Signal Is A Triangle Waveform. We're Not Dummy We Did Have Checked Bus Resistor Adaption. 

Not Only Us The Distributor's FAE In Charge Of The Case Who Has Tried Himself In Their Team Either. The Problem Remain The Same. Strangely Only 144 EVK Is Running Well To Send CAN Message To S32K116. They Have Reported The Issue To Professional Technical Support To NXP Shanghai Team But Get No Reply From Them. They Also Believe It Is SDK Problem After A Series Of Experiments.

Unfortunately Friday Is Our Deadline. The Project's PVT-1 8TH Nov. Is Coming Soon. NXP Has No Body Answer Our Problem And No One Reports Bug Removed Nor Schedule. We're Very Worrying About Project Delay. Even Now I Have Placed Order For S32K118 / S32K116 For Months With Regular Price (Not Price For Mass Production) NXP Don't Reply Lead Time. Therefore I've Cancelled The PO.

Our Temporary Design Countermeasure Will Use KEA128 In Replacement Of S32K116 And Depends On Case And Final Price For Mass Production / Schedule For SOP (Feb. 2019) We May No Longer Consider S32K Product Line.

#CAN BUS SDK Issue

#S32K116 EVK Issue

#S32K

#CANBUS

#CAN RX Read Failed 

0 Kudos
Reply

1,379 Views
alexandrunan
NXP Employee
NXP Employee

Hello Wang,

Can you please provide next information in order to help you, what you use can_pal of flexcan component driver ? 

Please provide can and clock_manager configuration structures you used to initialize the drivers, and what can configuration you want to achieve ?

Please provide code if you are allowed or the sequence you used the driver so I can reproduce the environment ?

What clock source for PE engine of can you used and what value have, do you used external oscillator or internal one ?

Let's focus only on the S32K116 board !

0 Kudos
Reply

1,379 Views
alighieri
Contributor III

Alexandru

Your Colleague In Charge Technical Support Who Has Just Given Feedback.

The S32K EVK Designed With 40MHz Xtal But Project 2.9 SDK Applies 8 MHz.

After Re-Configure As 40MHz The CAN Goes Well For Receiving Incoming Bystream.

Then We Check Our Custom Board Designed With S32K116.

Our Custom Board Uses 8 MHz Xtal As Same As Setup In SDK.

Again We Cannot Receive Incoming Data And Waveform Is Abnormal.

Strangely We've Used Same 8 MHz Xtal As Applied Clock Source In SDK But Remain Failed To Get CAN Bystream.   

0 Kudos
Reply

1,379 Views
alighieri
Contributor III

Alexandru

We've Reported Issue Resolved.

The Problem Is EVK Designed With 40MHz Xtal But SDK Applied 8MHz Clock Source.

Very Stupid Problem.

Feedback Here For Dummy.

Thank You Very Much

0 Kudos
Reply