UCANS32K1SIC: Dual CAN Channel Configuration issue

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

UCANS32K1SIC: Dual CAN Channel Configuration issue

5,896 次查看
Shubha_Ravi
Contributor I

Hello Team,

Iam using the UCANS32K1SIC EVB for development purpose in our project. As per the project requirement we need to enable two CAN channels (CAN0 and CAN1). I executed the S32K146_can_pal example to see the working of single CAN (CAN1B is connected to PCAN) and it worked fine, then I tried to Configure a second CAN channel following the example, by creating another instance for the second CAN (CAN1A connected to PCAN). As per my understanding of the code, it should work just fine with this change, but Iam unable to receive/ transmit anything with the changed configuration. Am I missing something on the configuration/hardware. Can you please help me with configuration of second channel.

I have attached the changes that was made and the main file that Iam trying to execute. Iam using PCAN with baud rate 500kbps.Please let me know if further information is required.

0 项奖励
回复
1 回复

5,777 次查看
Senlent
NXP TechSupport
NXP TechSupport

Hi@Shubha_Ravi

Please confirm whether the CAN1 port has been initialized. 

Senlent_0-1693793242426.png

This is not seen in the picture you provided.

0 项奖励
回复