S32K312 FLEXCAN NORMAL MODE PROBLEM

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

S32K312 FLEXCAN NORMAL MODE PROBLEM

Jump to solution
4,254 Views
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 Kudos
Reply
1 Solution
4,217 Views
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

View solution in original post

0 Kudos
Reply
4 Replies
4,231 Views
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 Kudos
Reply
4,218 Views
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 Kudos
Reply
4,218 Views
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 Kudos
Reply
4,220 Views
rexoplans
Contributor III
Would it not work even if I use 125kbps speed?
0 Kudos
Reply