S32K312 FLEXCAN NORMAL MODE PROBLEM

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

S32K312 FLEXCAN NORMAL MODE PROBLEM

跳至解决方案
4,256 次查看
rexoplans
Contributor III

Hello, I'm working on the FlexCAN of the S32K312 microcontroller. I'm trying to send data using the CAN 2.0A frame. In LOOPBACK mode, I am able to enter the TX_COMPLETE and RX_FIFO_COMPLETE interrupts as desired. However, when I switch to NORMAL mode, I don't receive TX_COMPLETE (except for any configuration issues aside from baud rate mismatch). I'm hoping for a frame error, but it doesn't trigger my Error Callback either. I'm using the TJA1055T transceiver, and when I set the en-stb pins to 1, the RTL pin matches the voltage of the VCC pin as expected. On the other end, I'm using the PEAK p-can-usb. If there's a problem due to speed, I expect the pcan-usb status to switch to 'busheavy.' I suspect that the issue might be related to my pin configurations, but I'm not certain. I'm configuring the pins through s32ds. Can you help? Below, I'm providing the version information.

 

* Autosar Version : 4.7.0
* Autosar Revision : ASR_REL_4_7_REV_0000
* Autosar Conf.Variant :
* SW Version : 3.0.0

0 项奖励
回复
1 解答
4,219 次查看
PetrS
NXP TechSupport
NXP TechSupport

Hi,

I have referred to PCAN USB FD interface, but similarly for the one you mentioned. PCA82C251 is HS CAN interface as well. 
Due to the different types of termination, you cannot use high speed and low speed/fault tolerant CAN devices in the same network.

BR, Petr

在原帖中查看解决方案

0 项奖励
回复
4 回复数
4,233 次查看
PetrS
NXP TechSupport
NXP TechSupport

Hi,

but TJA1055T is low speed fault-tolerant CAN transceiver while PCAN USB is using TJA1044GT which is HS CAN interface. Those two cannot be connected at same bus, it will not work.

BR, Petr

0 项奖励
回复
4,220 次查看
rexoplans
Contributor III

Are you sure about the transceiver? Different explanations have been provided on internet websites

 

Peak description site : https://www.peak-system.com/PCAN-USB.199.0.html?&L=1

0 项奖励
回复
4,220 次查看
PetrS
NXP TechSupport
NXP TechSupport

Hi,

I have referred to PCAN USB FD interface, but similarly for the one you mentioned. PCA82C251 is HS CAN interface as well. 
Due to the different types of termination, you cannot use high speed and low speed/fault tolerant CAN devices in the same network.

BR, Petr

0 项奖励
回复
4,222 次查看
rexoplans
Contributor III
Would it not work even if I use 125kbps speed?
0 项奖励
回复