CAN HighLevel API - No signals on osci

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

CAN HighLevel API - No signals on osci

Jump to solution
984 Views
nxp_user001123
Contributor III

Hi Guys,

 

I hope you are doing fine today. I have a question about CAN. So I tried the CAN example with low level API, which is working fine, even if I reroute the PINS from PTA6/7 -> PTB0/1. I can see all the send signals on osci. For sure PTB0/1 are without a CAN transceiver.

 

But If I try now the CAN high level API example, with configured PINS,PORT, CAN_43_FLEXCAN,..in S32DS. Code is generated without any error and project is also compiling and linking. But I cannot see any signals on the osci. Neither on PTA6/7 nor on PTB0/1.

 

In the attachement you can finde the example of the High Level API. 

 

Thanks for any help in advance!

0 Kudos
Reply
1 Solution
912 Views
nxp_user001123
Contributor III

Hi,

Loopback was one of the issues, the other was to connect another CAN-node on the bus to get the example working.

View solution in original post

0 Kudos
Reply
2 Replies
913 Views
nxp_user001123
Contributor III

Hi,

Loopback was one of the issues, the other was to connect another CAN-node on the bus to get the example working.

0 Kudos
Reply
964 Views
PetrS
NXP TechSupport
NXP TechSupport

Hi,

seems you started CanController_0 which is configured for loopback mode in setting, so you get no signals on module pins (PTA6/7 or PTB0/1). CanController_1 is not set for loopback mode, but it is not started at all, so no transfer can be seen on its pins (PTC8/9).

BR, Petr

0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-2010896%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ECAN%20HighLevel%20API%20-%20No%20signals%20on%20osci%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2010896%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%20Guys%2C%3C%2FP%3E%3CBR%20%2F%3E%3CP%3EI%20hope%20you%20are%20doing%20fine%20today.%20I%20have%20a%20question%20about%20CAN.%20So%20I%20tried%20the%20CAN%20example%20with%20low%20level%20API%2C%20which%20is%20working%20fine%2C%20even%20if%20I%20reroute%20the%20PINS%20from%20PTA6%2F7%20-%26gt%3B%20PTB0%2F1.%20I%20can%20see%20all%20the%20send%20signals%20on%20osci.%20For%20sure%20PTB0%2F1%20are%20without%20a%20CAN%20transceiver.%3C%2FP%3E%3CBR%20%2F%3E%3CP%3EBut%20If%20I%20try%20now%20the%20CAN%20high%20level%20API%20example%2C%20with%20configured%20PINS%2CPORT%2C%20CAN_43_FLEXCAN%2C..in%20S32DS.%20Code%20is%20generated%20without%20any%20error%20and%20project%20is%20also%20compiling%20and%20linking.%20But%20I%20cannot%20see%20any%20signals%20on%20the%20osci.%20Neither%20on%20PTA6%2F7%20nor%20on%20PTB0%2F1.%3C%2FP%3E%3CBR%20%2F%3E%3CP%3EIn%20the%20attachement%20you%20can%20finde%20the%20example%20of%20the%20High%20Level%20API.%26nbsp%3B%3C%2FP%3E%3CBR%20%2F%3E%3CP%3EThanks%20for%20any%20help%20in%20advance!%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2014183%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20CAN%20HighLevel%20API%20-%20No%20signals%20on%20osci%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2014183%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%2C%3C%2FP%3E%3CP%3ELoopback%20was%20one%20of%20the%20issues%2C%20the%20other%20was%20to%20connect%20another%20CAN-node%20on%20the%20bus%20to%20get%20the%20example%20working.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2011116%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20CAN%20HighLevel%20API%20-%20No%20signals%20on%20osci%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2011116%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%2C%3C%2FP%3E%0A%3CP%3Eseems%20you%20started%20CanController_0%20which%20is%20configured%20for%20loopback%20mode%20in%20setting%2C%20so%20you%20get%20no%20signals%20on%20module%20pins%20(PTA6%2F7%20or%20PTB0%2F1).%26nbsp%3BCanController_1%20is%20not%20set%20for%20loopback%20mode%2C%20but%20it%20is%20not%20started%20at%20all%2C%20so%20no%20transfer%20can%20be%20seen%20on%20its%20pins%20(PTC8%2F9).%3C%2FP%3E%0A%3CP%3EBR%2C%20Petr%3C%2FP%3E%3C%2FLINGO-BODY%3E