CAN HighLevel API - No signals on osci

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

CAN HighLevel API - No signals on osci

跳至解决方案
966 次查看
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 项奖励
回复
1 解答
894 次查看
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 项奖励
回复
2 回复数
895 次查看
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 项奖励
回复
946 次查看
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 项奖励
回复
%3CLINGO-SUB%20id%3D%22lingo-sub-2010896%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ECAN%20HighLevel%20API%20-%20osci%20%E4%B8%8A%E6%97%A0%E4%BF%A1%E5%8F%B7%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2010896%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%E5%97%A8%EF%BC%8C%E5%A4%A7%E5%AE%B6%E5%A5%BD%EF%BC%8C%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E%E6%88%91%E5%B8%8C%E6%9C%9B%E4%BD%A0%E4%BB%8A%E5%A4%A9%E4%B8%80%E5%88%87%E9%A1%BA%E5%88%A9%E3%80%82%E6%88%91%E6%9C%89%E4%B8%80%E4%B8%AA%E5%85%B3%E4%BA%8E%20CAN%20%E7%9A%84%E9%97%AE%E9%A2%98%E3%80%82%E5%9B%A0%E6%AD%A4%EF%BC%8C%E6%88%91%E5%B0%9D%E8%AF%95%E4%BD%BF%E7%94%A8%E4%BD%8E%E7%BA%A7%20API%20%E7%9A%84%20CAN%20%E7%A4%BA%E4%BE%8B%EF%BC%8C%E5%8D%B3%E4%BD%BF%E6%88%91%E5%B0%86%20PINS%20%E4%BB%8E%20PTA6%2F7%20%E9%87%8D%E6%96%B0%E8%B7%AF%E7%94%B1%E5%88%B0%20PTB0%2F1%EF%BC%8C%E5%AE%83%E4%B9%9F%E8%83%BD%E6%AD%A3%E5%B8%B8%E5%B7%A5%E4%BD%9C%E3%80%82%E6%88%91%E5%8F%AF%E4%BB%A5%E5%9C%A8%20osci%20%E4%B8%8A%E7%9C%8B%E5%88%B0%E6%89%80%E6%9C%89%E5%8F%91%E9%80%81%E4%BF%A1%E5%8F%B7%E3%80%82%E5%8F%AF%E4%BB%A5%E8%82%AF%E5%AE%9A%E7%9A%84%E6%98%AF%EF%BC%8CPTB0%2F1%20%E6%B2%A1%E6%9C%89%20CAN%20%E6%94%B6%E5%8F%91%E5%99%A8%E3%80%82%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E%E4%BD%86%E6%98%AF%E5%A6%82%E6%9E%9C%E6%88%91%E7%8E%B0%E5%9C%A8%E5%B0%9D%E8%AF%95%20CAN%20%E9%AB%98%E7%BA%A7%20API%20%E7%A4%BA%E4%BE%8B%EF%BC%8C%E5%9C%A8%20S32DS%20%E4%B8%AD%E9%85%8D%E7%BD%AE%20PINS%E3%80%81PORT%E3%80%81CAN_43_FLEXCAN%E3%80%81..%E3%80%82%E4%BB%A3%E7%A0%81%E7%94%9F%E6%88%90%E6%B2%A1%E6%9C%89%E4%BB%BB%E4%BD%95%E9%94%99%E8%AF%AF%EF%BC%8C%E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