CAN controller not working with S32K144EVB.

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

CAN controller not working with S32K144EVB.

1,700 Views
Anilpatil_SasvaAuto
Contributor III

Hello Team,

I'm trying to get Classic CAN to work with the evaluation board for S32K144. Powered up the EVB using an External 12V DC power supply through J16 and Set the J107 to 1-2.

 

I have imported the "S32K144_Project_FlexCan_ClassicFrames" from s32k144_cookbook-master examples from GitHub.

Please provide the procedure to work the CAN Controller with S32K144EVB, also provide the EVB schematic doc.

Do we need any SBC CAN Transceiver to be interfaced with S32K144EVB?  

Please provide the working CAN Demo software package for S32K144EVB.

My requirements:

Baud Rate: 500kbps.

Tx Messages: 4

Rx Messages: 4 using buffers and enabled the filtering.

May I know the difference between the Classic CAN and FlexCAN

0 Kudos
Reply
6 Replies

952 Views
Mudkip
Contributor I

Hi, the S32K144 EVB does have a CAN transceiver, you do not need an external one, you need to plug in the 12V supply and put jumper J107 in 1-2 position.

But in the EVB you can only use the CAN_0 peripheral, because it is the only one physically connected to the in-built transceiver.

You can check this in the schematics of the eval board.

 

To interface with it you can use some external tools to connect it to your PC

0 Kudos
Reply

1,671 Views
Anilpatil_SasvaAuto
Contributor III

Hello Robin,

Your answer is not a solution to my problem. Could you please provide the link to download the S32K1 SDK or RTD? 

Please suggest, how to install the SDK in the S32DS IDE.

 

0 Kudos
Reply

1,668 Views
Robin_Shen
NXP TechSupport
NXP TechSupport

I see you talked a lot in How to download SDK for S32K144EVB and NCJ3321 NFC Module and NFC reader library, but I didn't notice which version you decided to install in the end.
Please tell me which version of S32DS and which version of SDK or RTD you want to install. It is usually recommended to use the same version as the example you want, so as to save you having to porting it later.

0 Kudos
Reply

1,663 Views
Anilpatil_SasvaAuto
Contributor III
Software Requirements:

S32 Design Studio for ARM version 2018.R1 (S32K SDK)
– S32K14x support package: S32DS_ARM_v2018.R1_UP10.zip
• MCUXpresso IDE v10.2.1
• Terminal program (Tera Term was used)
• Python v3.7
• Google test and google mock v1.8
• Eclipse C/C++ v4.3
• GCC v6.3

Please guide me to download all the above software and install it.
0 Kudos
Reply

1,659 Views
Robin_Shen
NXP TechSupport
NXP TechSupport

Please install S32 Design Studio for ARM 2018.R1 (Windows/Linux) released! and then install S32 Design Studio for ARM 2018.R1 - Update 10 available.

You don't need to install MCUXpresso IDE v10.2.1, it's not for S32K.

0 Kudos
Reply

1,675 Views
Robin_Shen
NXP TechSupport
NXP TechSupport

Hi

I'm not sure if you have installed S32K1 SDK or RTD now and which version you have installed. But as far as I know, there are CAN projects and introduction documents for your reference, such as: SBC on the S32k146 Eval board not powering up

If s32k144_cookbook-master examples from GitHub are not provided by NXP, I am afraid it will not be convenient for me to support it.

In addition to the examples provided in the SDK and RTD, there are also many examples in the community for your reference:
S32K1xx SDK FlexCAN sample projects to demonstrate its basic and advanced features
S32K Examples


Best Regards,
Robin
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

0 Kudos
Reply