TJA1145T/FD

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

TJA1145T/FD

跳至解决方案
2,080 次查看
carlos_kan
Contributor II

Hi, noob here.

About TJA1145T/FD,I have a question:

I have refer to several designs with TJA1145T and I found that the 1145 communicates with microcontroller through SPI.If I follow the hardware design of 1145 but not send any SPI frame to 1145 when I power on the MCU board(In SW not initial the 1145),is the 1145 in operating mode or can MCU transmit and receive CAN frames by 1145?

I have code of a S32K application which uses UJA1169. However,there is no code about UJA1169 initial and SPI communication with microcontroller ,but it can still transfer CAN data.

You reply will be highly appreciated.Thanks.

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

Hi, 

 

upon power on TJA1145 enters Standby mode with CAN transceiver disabled, you need to send command over SPI. That is put TJA1145 in Normal mode (MC = 111) and enable CAN transceiver by setting bits CMC in the CAN control register to 01 or 10.

 

BR, Petr

在原帖中查看解决方案

0 项奖励
回复
2 回复数
2,069 次查看
PetrS
NXP TechSupport
NXP TechSupport

Hi, 

 

upon power on TJA1145 enters Standby mode with CAN transceiver disabled, you need to send command over SPI. That is put TJA1145 in Normal mode (MC = 111) and enable CAN transceiver by setting bits CMC in the CAN control register to 01 or 10.

 

BR, Petr

0 项奖励
回复
539 次查看
Florence100733
Contributor I

你好,我目前是使用S32K312向TJA1145T/FDJ发送SPI报文使其进入正常模式TJA1145T/FDJ的INH引脚电平是电源电压,但是CAN收发器依旧不能正常工作,是我的实现程序有问题吗,附件为我的实现程序,如方便请帮忙看看,谢谢#TJA1145T/FDJ#S32K312

0 项奖励
回复