S32K312 FLEXCAN NORMAL MODE PROBLEM

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

S32K312 FLEXCAN NORMAL MODE PROBLEM

ソリューションへジャンプ
4,297件の閲覧回数
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,260件の閲覧回数
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,274件の閲覧回数
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,261件の閲覧回数
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,261件の閲覧回数
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,263件の閲覧回数
rexoplans
Contributor III
Would it not work even if I use 125kbps speed?
0 件の賞賛
返信