Problem in FlexCAN1 transmit in S32K344

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

Problem in FlexCAN1 transmit in S32K344

跳至解决方案
310 次查看
sagar991
Contributor II

I enabled the pins configuration tool in the default FlexCAN_Ip_Example_S32K344 to observe the CAN0 Tx output on the PTA7 pin in the normal mode. I was able to see the digital CAN signals on the oscilloscope.

But when I changed the output port from PTA7 to PTB1, I couldn't see any signals on the oscilloscope.

I also tried changing CAN0 to CAN1, but still I can only see signals from the PTA7 port.

Is there any reason why can't I observe CAN signals from any ports other than PTA7 becuase in schematics both PTA7 and PTB1 can have CAN0_Tx signal.

I am using S32K3X4EVB-T172 board have attached the project.

0 项奖励
回复
1 解答
237 次查看
Julián_AragónM
NXP TechSupport
NXP TechSupport

Hi @sagar991,

Sorry for the misunderstanding, only pins PTA6 & PTA7 are connected to the PHY on board:

Julin_AragnM_0-1715982506795.png

If you need to use another pin for transmission, they need to be rerouted.

Best regards,
Julián

在原帖中查看解决方案

3 回复数
279 次查看
Julián_AragónM
NXP TechSupport
NXP TechSupport

Hi @sagar991,

Are you testing this with two S32K344 boards? 

In order to see the signals for the transmissions, you will need another CAN node in the bus (either another MCU or CAN analyzer).

Best regards,
Julián.

0 项奖励
回复
252 次查看
sagar991
Contributor II

I have PCAN-USB CAN decoder which receives messages normally when CAN0 Tx pin is PTA7, but when I change it to PTB1, I don't receive any messages. Can only 1 pin be used in CAN0 for transmitting ?

0 项奖励
回复
238 次查看
Julián_AragónM
NXP TechSupport
NXP TechSupport

Hi @sagar991,

Sorry for the misunderstanding, only pins PTA6 & PTA7 are connected to the PHY on board:

Julin_AragnM_0-1715982506795.png

If you need to use another pin for transmission, they need to be rerouted.

Best regards,
Julián