CAN Example on S32K14W-Q064 rerefence board

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

CAN Example on S32K14W-Q064 rerefence board

Jump to solution
524 Views
vincent841
Contributor II

Hi,


I'm testing CAN communication on S32K14W-Q064 reference board. I'm using S32DS version 3.6.3 and AUTOSAR R21-11 RTD 3.0.0 recommended by here. 

I'm trying to check some examples like 'CAN_example_S32K144W' and 'FlexCAN_Ip_example_S32K144W' but it doesn't work.  

Could you give me some information like additional configurations or test codes?  Thanks in advance. 

0 Kudos
Reply
1 Solution
470 Views
Senlent
NXP TechSupport
NXP TechSupport

Hi@vincent841

The UJA116x's CAN features are enabled by default, so you don't need to configure them to evaluate CAN feature.

The TJA1145 requires configuration, but I don't have driver example code for this transceiver.

If you have questions related to the UJA116x or JTA1145, please create a new topic.

View solution in original post

3 Replies
477 Views
vincent841
Contributor II

@Senlent thanks for your reply. I have one more question.

I found UJA1169TK(CAN0) and TJA1145(CAN1) as CAN tranceiver on the reference board(S32K14W-Q064). 

Do these devices require any additional configuration for CAN communication? If so, could you share any relevant modules or example code?

Thanks in advnace.

0 Kudos
Reply
471 Views
Senlent
NXP TechSupport
NXP TechSupport

Hi@vincent841

The UJA116x's CAN features are enabled by default, so you don't need to configure them to evaluate CAN feature.

The TJA1145 requires configuration, but I don't have driver example code for this transceiver.

If you have questions related to the UJA116x or JTA1145, please create a new topic.

487 Views
Senlent
NXP TechSupport
NXP TechSupport

Hi@vincent841

the demo "FlexCAN_Ip_example_S32K144W" work in flexcan loop-back mode, you need to do some modification 

1.change flexcan0 work mode to normal, 

2.add port for flexcan0

0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-2154075%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ECAN%20Example%20on%20S32K14W-Q064%20rerefence%20board%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2154075%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%2C%3C%2FP%3E%3CP%3E%3CBR%20%2F%3EI'm%20testing%20CAN%20communication%20on%20S32K14W-Q064%20reference%20board.%20I'm%20using%20S32DS%20version%203.6.3%20and%20AUTOSAR%20R21-11%20RTD%203.0.0%20recommended%20by%20here.%26nbsp%3B%3C%2FP%3E%3CP%3EI'm%20trying%20to%20check%20some%20examples%20like%20'CAN_example_S32K144W'%20and%20'FlexCAN_Ip_example_S32K144W'%20but%20it%20doesn't%20work.%26nbsp%3B%26nbsp%3B%3C%2FP%3E%3CP%3ECould%20you%20give%20me%20some%20information%20like%20additional%20configurations%20or%20test%20codes%3F%26nbsp%3B%20Thanks%20in%20advance.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2154312%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20CAN%20Example%20on%20S32K14W-Q064%20rerefence%20board%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2154312%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%3CA%20href%3D%22mailto%3AHi%40vincent841%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3EHi%40vincent841%3C%2FA%3E%3C%2FP%3E%0A%3CP%3EThe%20UJA116x's%20CAN%20features%20are%20enabled%20by%20default%2C%20so%20you%20don't%20need%20to%20configure%20them%20to%20evaluate%20CAN%20feature.%3C%2FP%3E%0A%3CP%3EThe%20TJA1145%20requires%20configuration%2C%20but%20I%20don't%20have%20driver%20example%20code%20for%20this%20transceiver.%3C%2FP%3E%0A%3CP%3EIf%20you%20have%20questions%20related%20to%20the%20UJA116x%20or%20JTA1145%2C%20please%20create%20a%20new%20topic.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2154286%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20CAN%20Example%20on%20S32K14W-Q064%20rerefence%20board%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2154286%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F188029%22%20target%3D%22_blank%22%3E%40Senlent%3C%2FA%3E%26nbsp%3Bthanks%20for%20your%20reply.%20I%20have%20one%20more%20question.%3CBR%20%2F%3E%3CBR%20%2F%3EI%20found%26nbsp%3BUJA1169TK(CAN0)%20and%20TJA1145(CAN1)%20as%20CAN%20tranceiver%20on%20the%20reference%20board(%3CSPAN%3ES32K14W-Q064).%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3EDo%20these%20devices%20require%20any%20additional%20configuration%20for%20CAN%20communication%3F%20If%20so%2C%20could%20you%20share%20any%20relevant%20modules%20or%20example%20code%3F%3CBR%20%2F%3E%3CBR%20%2F%3EThanks%20in%20advnace.%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2154250%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20CAN%20Example%20on%20S32K14W-Q064%20rerefence%20board%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2154250%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%3CA%20href%3D%22mailto%3AHi%40vincent841%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3EHi%40vincent841%3C%2FA%3E%3C%2FP%3E%0A%3CP%3Ethe%20demo%20%22%3CSPAN%3EFlexCAN_Ip_example_S32K144W%3C%2FSPAN%3E%22%20work%20in%20flexcan%20loop-back%20mode%2C%20you%20need%20to%20do%20some%20modification%26nbsp%3B%3C%2FP%3E%0A%3CP%3E1.change%20flexcan0%20work%20mode%20to%20normal%2C%26nbsp%3B%3C%2FP%3E%0A%3CP%3E2.add%20port%20for%20flexcan0%3C%2FP%3E%3C%2FLINGO-BODY%3E